Commit 94c420c8 authored by Wolfgang Bauer's avatar Wolfgang Bauer

Fix build with Qt 5.6

Q(Gui)Application::setDesktopFileName() was introduced in Qt 5.7, but
kdenlive specifies 5.6.0 as minimum version in CMakeLists.txt.
parent ea185dfc
......@@ -67,7 +67,9 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kdenlive"));
app.setOrganizationDomain(QStringLiteral("kde.org"));
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
app.setDesktopFileName(QStringLiteral("org.kde.kdenlive"));
#endif
app.setWindowIcon(QIcon(QStringLiteral(":/pics/kdenlive.png")));
KLocalizedString::setApplicationDomain("kdenlive");
KSharedConfigPtr config = KSharedConfig::openConfig();
......
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