summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlabel/tst_qlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qlabel/tst_qlabel.cpp')
-rw-r--r--tests/auto/qlabel/tst_qlabel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qlabel/tst_qlabel.cpp b/tests/auto/qlabel/tst_qlabel.cpp
index 5a46bf7359..6dc1aebbce 100644
--- a/tests/auto/qlabel/tst_qlabel.cpp
+++ b/tests/auto/qlabel/tst_qlabel.cpp
@@ -266,10 +266,8 @@ void tst_QLabel::setTextFormat()
testWidget->setTextFormat( Qt::RichText );
QVERIFY( testWidget->textFormat() == Qt::RichText );
-#if QT_VERSION >= 0x030100
testWidget->setTextFormat( Qt::LogText );
QVERIFY( testWidget->textFormat() == Qt::LogText );
-#endif
testWidget->setTextFormat( Qt::AutoText );
QVERIFY( testWidget->textFormat() == Qt::AutoText );