UI: Set desktopFileName for QApplication
This needs to match the base name of the .desktop file name. This is needed for propagating the correct App ID on Wayland, which is needed e.g. for proper window icons on Plasma.master
parent
0a93acbc86
commit
f43b046f8b
|
@ -1164,6 +1164,8 @@ OBSApp::OBSApp(int &argc, char **argv, profiler_name_store_t *store)
|
||||||
#else
|
#else
|
||||||
setWindowIcon(QIcon::fromTheme("obs", QIcon(":/res/images/obs.png")));
|
setWindowIcon(QIcon::fromTheme("obs", QIcon(":/res/images/obs.png")));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
setDesktopFileName("com.obsproject.Studio");
|
||||||
}
|
}
|
||||||
|
|
||||||
OBSApp::~OBSApp()
|
OBSApp::~OBSApp()
|
||||||
|
|
Loading…
Reference in New Issue