Use APPLICATION_ICON_NAME for autostart icon
authorNicolas Fella <nicolas.fella@gmx.de>
Sun, 7 Jun 2020 21:23:18 +0000 (23:23 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Mon, 8 Jun 2020 18:06:00 +0000 (20:06 +0200)
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
src/common/utility_unix.cpp

index b85368e278dfbd37966509f4b63d84c6895ad144..f6b2f16fcda2adc8e637c0c8b0ee4937315bbad9 100644 (file)
@@ -76,7 +76,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
            << QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
            << QLatin1String("Exec=") << QCoreApplication::applicationFilePath() << endl
            << QLatin1String("Terminal=") << "false" << endl
-           << QLatin1String("Icon=") << appName.toLower() << endl // always use lowercase for icons
+           << QLatin1String("Icon=") << APPLICATION_ICON_NAME << endl
            << QLatin1String("Categories=") << QLatin1String("Network") << endl
            << QLatin1String("Type=") << QLatin1String("Application") << endl
            << QLatin1String("StartupNotify=") << "false" << endl