Commit 2473499f authored by Halla Rempt's avatar Halla Rempt

Fix build with older Qt

parent bfc3bf39
......@@ -176,10 +176,11 @@ KisApplication::KisApplication(const QString &key, int &argc, char **argv)
else {
qDebug() << "Style override disabled, using" << style()->objectName();
}
#if QT_VERSION >= 0x050600
if (KisConfig().readEntry("EnableHiDPI", false)) {
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
}
#endif
KisOpenGL::initialize();
qDebug() << "krita has opengl" << KisOpenGL::hasOpenGL();
......
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