Ensure Kirigami2 does not mess with our settings
This commit is contained in:
parent
f577b5acd7
commit
065bded841
|
@ -35,6 +35,11 @@ int runQuickGui(int argc, char *argv[], const QtConfigArguments &qtConfigArgs, c
|
||||||
setupAndroidSpecifics();
|
setupAndroidSpecifics();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// work around kirigami plugin trying to be clever
|
||||||
|
if (!qEnvironmentVariableIsSet("XDG_CURRENT_DESKTOP")) {
|
||||||
|
qputenv("XDG_CURRENT_DESKTOP", QByteArray("please don't override my settings"));
|
||||||
|
}
|
||||||
|
|
||||||
// init application
|
// init application
|
||||||
SET_QT_APPLICATION_INFO;
|
SET_QT_APPLICATION_INFO;
|
||||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
|
Loading…
Reference in New Issue