fix: Set correct QGuiApplication::desktopFileName
The implicity default doesn't match the actual name of the desktop file. This fixes e.g. the application icon on Wayland
This commit is contained in:
parent
02c5418b9e
commit
c959e641cb
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
QCoreApplication::setApplicationName(kAppName);
|
QCoreApplication::setApplicationName(kAppName);
|
||||||
QCoreApplication::setOrganizationName(kAppName);
|
QCoreApplication::setOrganizationName(kAppName);
|
||||||
|
QGuiApplication::setDesktopFileName(DESKFLOW_APP_ID);
|
||||||
|
|
||||||
// used as a prefix for settings paths, and must not be a url.
|
// used as a prefix for settings paths, and must not be a url.
|
||||||
QCoreApplication::setOrganizationDomain(kOrgDomain);
|
QCoreApplication::setOrganizationDomain(kOrgDomain);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue