Remove code to unset QT_DEVICE_PIXEL_RATIO envvar
QT_DEVICE_PIXEL_RATIO has been dropped in Qt 6.
This commit is contained in:
parent
6befc5d11b
commit
889180b685
2 changed files with 0 additions and 2 deletions
|
@ -272,7 +272,6 @@ int main(int argc, char *argv[])
|
||||||
// enforce our internal qpa plugin, unfortunately command line switch has precedence
|
// enforce our internal qpa plugin, unfortunately command line switch has precedence
|
||||||
setenv("QT_QPA_PLATFORM", "wayland-org.kde.kwin.qpa", true);
|
setenv("QT_QPA_PLATFORM", "wayland-org.kde.kwin.qpa", true);
|
||||||
|
|
||||||
qunsetenv("QT_DEVICE_PIXEL_RATIO");
|
|
||||||
KWin::ApplicationWayland a(argc, argv);
|
KWin::ApplicationWayland a(argc, argv);
|
||||||
|
|
||||||
// reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
|
// reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
|
||||||
|
|
|
@ -390,7 +390,6 @@ int main(int argc, char *argv[])
|
||||||
// disable highdpi scaling
|
// disable highdpi scaling
|
||||||
setenv("QT_ENABLE_HIGHDPI_SCALING", "0", true);
|
setenv("QT_ENABLE_HIGHDPI_SCALING", "0", true);
|
||||||
|
|
||||||
qunsetenv("QT_DEVICE_PIXEL_RATIO");
|
|
||||||
qunsetenv("QT_SCALE_FACTOR");
|
qunsetenv("QT_SCALE_FACTOR");
|
||||||
qunsetenv("QT_SCREEN_SCALE_FACTORS");
|
qunsetenv("QT_SCREEN_SCALE_FACTORS");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue