diff --git a/src/app/main.cpp b/src/app/main.cpp index 2574bff24..21444ac3c 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -218,6 +218,10 @@ int main(int argc, char *argv[]) qapp->setWindowIcon(QIcon::fromTheme(QStringLiteral("zeal"), QIcon(QStringLiteral(":/zeal.ico")))); +#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)) + qapp->setDesktopFileName(QStringLiteral("org.zealdocs.Zeal.desktop")); +#endif + QDir::setSearchPaths(QStringLiteral("typeIcon"), {QStringLiteral(":/icons/type")}); QScopedPointer app(new Core::Application());