Skip to content

Commit

Permalink
Merge pull request #7699 from kleifgch/fix-filename-warning
Browse files Browse the repository at this point in the history
Call setDesktopFileName without `.desktop` suffix
  • Loading branch information
mgallien authored Jan 2, 2025
2 parents 1441c89 + 5d36070 commit f3d04ab
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 f3d04ab

Please sign in to comment.