Commit d4e207a6 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix build with Qt 5.12

parent dbd09bbb
......@@ -97,7 +97,9 @@ int main(int argc, char** argv)
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("plasmadiscover")));
app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
app.setAttribute(Qt::AA_DisableSessionManager, true);
#endif
KCrash::initialize();
KQuickAddons::QtQuickSettings::init();
KLocalizedString::setApplicationDomain("plasma-discover");
......
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