summaryrefslogtreecommitdiffstats
path: root/tests/manual/qcursor/qcursorhighdpi/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qcursor/qcursorhighdpi/main.cpp')
-rw-r--r--tests/manual/qcursor/qcursorhighdpi/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/manual/qcursor/qcursorhighdpi/main.cpp b/tests/manual/qcursor/qcursorhighdpi/main.cpp
index 5a8bc542b97..2e920ab2310 100644
--- a/tests/manual/qcursor/qcursorhighdpi/main.cpp
+++ b/tests/manual/qcursor/qcursorhighdpi/main.cpp
@@ -339,9 +339,7 @@ int main(int argc, char *argv[])
std::copy(argv + 1, argv + argc, std::back_inserter(arguments));
#if QT_VERSION > 0x050000
- if (arguments.contains("-s"))
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- else if (arguments.contains("-n"))
+ if (arguments.contains("-n"))
QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
#endif // Qt 5