main: Set desktop filename

Fixes #1254
This commit is contained in:
Jonas Kvinge 2023-08-02 14:37:24 +02:00
parent acbec6db7e
commit f3ddba3edc
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ int main(int argc, char *argv[]) {
#endif
QGuiApplication::setApplicationDisplayName("Strawberry Music Player");
QGuiApplication::setDesktopFileName("org.strawberrymusicplayer.strawberry");
QGuiApplication::setQuitOnLastWindowClosed(false);
QApplication a(argc, argv);