NOISSUE Escape quotes in paths

Just in case the user decides to place MMC in a path containing quotes.
.desktop files appear to require two backslashes to escape quotes, testing on other desktop environments would be appreciated to make sure this isn't just a KDE-specific bug
This commit is contained in:
arthomnix
2022-07-31 11:38:00 +01:00
committed by Petr Mrázek
parent 08dd08afc1
commit 858487521e
2 changed files with 9 additions and 9 deletions

View File

@@ -39,8 +39,8 @@ private:
Ui::CreateShortcutDialog *ui;
InstancePtr m_instance;
QString getLaunchCommand();
QString getLaunchArgs();
QString getLaunchCommand(bool escapeQuotesTwice = false);
QString getLaunchArgs(bool escapeQuotesTwice = false);
void createShortcut();