summaryrefslogtreecommitdiffstats
path: root/tests/auto/printsupport/kernel
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-09-02 20:52:48 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-09-04 11:28:02 +0000
commit093064fdeb6e777d2dc88dbb4f4adb8fddac3aa5 (patch)
treed158515e101fc084d91c56f0bc6c63d72bf89cb5 /tests/auto/printsupport/kernel
parent66d9a2b9971366c906aea1e9e0ed4e600384a4aa (diff)
Convert features.completer to QT_[REQUIRE_]CONFIG
Change-Id: If45a46c08b37d245229a39f3d6ffbb34154934f2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests/auto/printsupport/kernel')
-rw-r--r--tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp b/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
index cc32e73b9c..88bae686ab 100644
--- a/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
+++ b/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
@@ -83,7 +83,7 @@ private slots:
void customPaperSizeAndMargins();
void customPaperNameSettingBySize();
void customPaperNameSettingByName();
-#if !defined(QT_NO_COMPLETER) && QT_CONFIG(filedialog)
+#if QT_CONFIG(completer) && QT_CONFIG(filedialog)
void printDialogCompleter();
#endif
void testCurrentPage();
@@ -587,7 +587,7 @@ void tst_QPrinter::customPaperSizeAndMargins()
}
}
-#if !defined(QT_NO_COMPLETER) && QT_CONFIG(filedialog)
+#if QT_CONFIG(completer) && QT_CONFIG(filedialog)
void tst_QPrinter::printDialogCompleter()
{
QPrintDialog dialog;