diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-31 14:01:12 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-31 19:14:55 +0200 |
commit | 90358f6042d1fe2db849e17e1b0c875fb0560b20 (patch) | |
tree | 493e57226970f613c18871d086ae88031b091fde /tests/manual/qcursor/qcursorhighdpi/main.cpp | |
parent | 8028474e62c584ed3d5bb0f662b9690ca029f028 (diff) |
Deprecate and remove uses of AA_DisableHighDpiScaling
Change-Id: Ibadce68775858c524b998aacad310905ba2c2e8e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'tests/manual/qcursor/qcursorhighdpi/main.cpp')
-rw-r--r-- | tests/manual/qcursor/qcursorhighdpi/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/manual/qcursor/qcursorhighdpi/main.cpp b/tests/manual/qcursor/qcursorhighdpi/main.cpp index 2e920ab231..b7c4b95a77 100644 --- a/tests/manual/qcursor/qcursorhighdpi/main.cpp +++ b/tests/manual/qcursor/qcursorhighdpi/main.cpp @@ -338,11 +338,6 @@ int main(int argc, char *argv[]) QStringList arguments; std::copy(argv + 1, argv + argc, std::back_inserter(arguments)); -#if QT_VERSION > 0x050000 - if (arguments.contains("-n")) - QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); -#endif // Qt 5 - QApplication app(argc, argv); MainWindowPtrList windows; |