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:
committed by
Chris Rizzitello
parent
02c5418b9e
commit
c959e641cb
@ -75,6 +75,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
QCoreApplication::setApplicationName(kAppName);
|
||||
QCoreApplication::setOrganizationName(kAppName);
|
||||
QGuiApplication::setDesktopFileName(DESKFLOW_APP_ID);
|
||||
|
||||
// used as a prefix for settings paths, and must not be a url.
|
||||
QCoreApplication::setOrganizationDomain(kOrgDomain);
|
||||
|
||||
Reference in New Issue
Block a user