Commit bc9878b4 authored by Sharaf Zaman's avatar Sharaf Zaman

Minor bugfix: Save opengl setting on Android

parent a2bd34cb
......@@ -152,6 +152,10 @@ Java_org_krita_android_JNIWrappers_saveState(JNIEnv* /*env*/,
{
doc->autoSaveOnPause();
}
const QString configPath = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation);
QSettings kritarc(configPath + QStringLiteral("/kritadisplayrc"), QSettings::IniFormat);
kritarc.setValue("canvasState", "OPENGL_SUCCESS");
}
#endif
......
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