fix(app): properly set desktop file name

This commit is contained in:
Oleg Shparber 2023-08-08 00:01:31 -04:00
parent 243abdd02b
commit cee4e505e9

View File

@ -233,7 +233,7 @@ int main(int argc, char *argv[])
}
// Set application-wide window icon. All message boxes and other windows will use it by default.
qapp->setDesktopFileName(QStringLiteral("org.zealdocs.zeal.desktop"));
qapp->setDesktopFileName(QStringLiteral("org.zealdocs.zeal"));
qapp->setWindowIcon(QIcon::fromTheme(QStringLiteral("zeal"),
QIcon(QStringLiteral(":/zeal.ico"))));