Skip to content

Commit

Permalink
Merge pull request #7707 from nextcloud/backport/7699/stable-3.15
Browse files Browse the repository at this point in the history
[stable-3.15] Call setDesktopFileName without `.desktop` suffix
  • Loading branch information
mgallien authored Jan 2, 2025
2 parents 0db44c8 + 7a1ce2c commit 674cb2f
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 @@ -229,9 +229,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 674cb2f

Please sign in to comment.