summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qcompleter.h
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 /src/widgets/util/qcompleter.h
parent66d9a2b9971366c906aea1e9e0ed4e600384a4aa (diff)
Convert features.completer to QT_[REQUIRE_]CONFIG
Change-Id: If45a46c08b37d245229a39f3d6ffbb34154934f2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/util/qcompleter.h')
-rw-r--r--src/widgets/util/qcompleter.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/util/qcompleter.h b/src/widgets/util/qcompleter.h
index 33e6540264..1a2c2440f5 100644
--- a/src/widgets/util/qcompleter.h
+++ b/src/widgets/util/qcompleter.h
@@ -47,10 +47,9 @@
#include <QtCore/qabstractitemmodel.h>
#include <QtCore/qrect.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(completer);
-#ifndef QT_NO_COMPLETER
+QT_BEGIN_NAMESPACE
class QCompleterPrivate;
class QAbstractItemView;
@@ -162,8 +161,6 @@ private:
Q_PRIVATE_SLOT(d_func(), void _q_fileSystemModelDirectoryLoaded(const QString&))
};
-#endif // QT_NO_COMPLETER
-
QT_END_NAMESPACE
#endif // QCOMPLETER_H