Commit f5f1c670 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix inconsistent opengl mode on Windows,

Related to #596
parent aca44719
...@@ -94,7 +94,9 @@ int main(int argc, char *argv[]) ...@@ -94,7 +94,9 @@ int main(int argc, char *argv[])
} else { } else {
// Default to OpenGLES (QtAngle) on first start // Default to OpenGLES (QtAngle) on first start
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true); QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true);
grp1.writeEntry("opengl_backend", int(Qt::AA_UseOpenGLES));
} }
#endif #endif
QApplication app(argc, argv); QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kdenlive")); app.setApplicationName(QStringLiteral("kdenlive"));
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