From 90358f6042d1fe2db849e17e1b0c875fb0560b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 31 Aug 2020 14:01:12 +0200 Subject: Deprecate and remove uses of AA_DisableHighDpiScaling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibadce68775858c524b998aacad310905ba2c2e8e Reviewed-by: Volker Hilsheimer Reviewed-by: Morten Johan Sørvig --- tests/manual/qcursor/qcursorhighdpi/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/manual/qcursor/qcursorhighdpi/main.cpp') 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; -- cgit v1.2.3