Commit ca0690b1 authored by Andrius Štikonas's avatar Andrius Štikonas

Add a desktop file for DrKonqi to fix Wayland icon.

parent 647833a9
......@@ -109,6 +109,8 @@ if (${Qt5X11Extras_FOUND})
endif()
install(TARGETS drkonqi DESTINATION ${KDE_INSTALL_LIBEXECDIR})
install(PROGRAMS org.kde.drkonqi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
# Only go into tests once we have a drkonqi target so the tests can reference
# it.
......
......@@ -60,6 +60,7 @@ int main(int argc, char* argv[])
KLocalizedString::setApplicationDomain("drkonqi5");
QCoreApplication::setApplicationName(QStringLiteral("drkonqi"));
QCoreApplication::setApplicationVersion(version);
QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
// Prevent KApplication from setting the crash handler. We will set it later...
setenv("KDE_DEBUG", "true", 1);
......@@ -79,6 +80,7 @@ int main(int argc, char* argv[])
aboutData.addAuthor(i18nc("@info:credit","A. L. Spehr"), QString(),
QStringLiteral("spehr@kde.org"));
qa.setWindowIcon(QIcon::fromTheme(QStringLiteral("tools-report-bug")));
qa.setDesktopFileName(QStringLiteral("org.kde.drkonqi"));
QCommandLineParser parser;
aboutData.setupCommandLine(&parser);
......
# KDE Config File
[Desktop Entry]
Type=Application
Name=Dr Konqi
Icon=tools-report-bug
NoDisplay=true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment