Skip to content

Commit

Permalink
Call setDesktopFileName without .desktop suffix
Browse files Browse the repository at this point in the history
As clarified in [1], the method expects to be called without the suffix.

[1] qt/qtbase@0c5135a

Signed-off-by: kleifgch <[email protected]>
  • Loading branch information
kleifgch committed Dec 30, 2024
1 parent abe5e1b commit 9bcd220
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 9bcd220

Please sign in to comment.