[wayland] Use Qt::AA_DisableHighDpiScaling in Qt 5.6
Follow the change of Qt 5.6 branch, see below https://codereview.qt-project.org/#/c/127895/ REVIEW: 126008
This commit is contained in:
parent
7983acea88
commit
7b9c21d63c
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ int main(int argc, char * argv[])
|
|||
qunsetenv("QT_IM_MODULE");
|
||||
qputenv("QSG_RENDER_LOOP", "basic");
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
QCoreApplication::setAttribute(Qt::AA_NoHighDpiScaling, true);
|
||||
QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
|
||||
#endif
|
||||
KWin::ApplicationWayland a(argc, argv);
|
||||
a.setupTranslator();
|
||||
|
|
Loading…
Reference in a new issue