Call setDesktopFileName without .desktop suffix

As clarified in [1], the method expects to be called without the suffix.

[1] 0c5135a9df

Signed-off-by: kleifgch <81602214+kleifgch@users.noreply.github.com>
This commit is contained in:
kleifgch 2024-12-29 04:07:25 +01:00 committed by Matthieu Gallien
parent 1441c89d11
commit 5d36070d15

View File

@ -230,9 +230,7 @@ Application::Application(int &argc, char **argv)
// setOrganizationName(QLatin1String(APPLICATION_VENDOR));
setOrganizationDomain(QLatin1String(APPLICATION_REV_DOMAIN));
QString desktopFileName = QString(QLatin1String(LINUX_APPLICATION_ID)
+ QLatin1String(".desktop"));
setDesktopFileName(desktopFileName);
setDesktopFileName(QString(LINUX_APPLICATION_ID));
setApplicationName(_theme->appName());
setWindowIcon(_theme->applicationIcon());