diff options
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp b/tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp index 350be874f9..c33d182f0b 100644 --- a/tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp +++ b/tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp @@ -46,7 +46,6 @@ private: // helpers QGuiApplication *createStandardOffscreenApp(const QJsonArray &screens); static void standardScreenDpiTestData(); private slots: - void initTestCase(); void cleanup(); void qhighdpiscaling_data(); void qhighdpiscaling(); @@ -174,15 +173,6 @@ void tst_QHighDpi::standardScreenDpiTestData() QTest::newRow("144-168-192") << QList<qreal> { 144, 168, 192 }; // mixed dpi (1.5x, 1.75x, 2x) } -void tst_QHighDpi::initTestCase() -{ -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - // Run tests on the (proposed) Qt 6 default configuration - QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); -#endif -} - void tst_QHighDpi::cleanup() { // Some test functions set environment variables. Unset them here, |