Move some QApp init stuff to correct place

parent 963b78e2
......@@ -62,10 +62,9 @@ int main(int argc, char *argv[])
qSetGlobalQHashSeed(0);
Logger::init();
QApplication app(argc, argv);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
QApplication app(argc, argv);
KSharedConfigPtr config = KSharedConfig::openConfig();
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
QCoreApplication::setAttribute(Qt::AA_X11InitThreads);
......
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