Commit f816b644 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove now always fulfilled check of Qt version

parent 46649eb9
......@@ -307,7 +307,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int _argc, char *_argv[])
dlg->setWindowIcon( QIcon::fromTheme(iconName) );
}
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
if (modules.count() == 1 && app.desktopFileName() == QLatin1String("org.kde.kcmshell5")) {
const QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation,
QStringLiteral("kservices5/%1.desktop").arg(modules.first()->desktopEntryName()));
......@@ -315,7 +314,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int _argc, char *_argv[])
app.setDesktopFileName(path);
}
}
#endif
dlg->show();
......
Supports Markdown
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