Commit 9ee17cfb authored by Andrius Štikonas's avatar Andrius Štikonas

Do not set application data twice. It ends up in desktop file name being org.kde.org.kde.gwenview.

parent 8df0f266
......@@ -122,9 +122,6 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
KAboutData::setApplicationData(*aboutData);
app.setApplicationName(aboutData.data()->componentName());
app.setApplicationDisplayName(aboutData.data()->displayName());
app.setOrganizationDomain(aboutData.data()->organizationDomain());
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("gwenview"), app.windowIcon()));
QCommandLineParser parser;
......
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