summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qitemeditorfactory_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/itemviews/qitemeditorfactory_p.h')
-rw-r--r--src/widgets/itemviews/qitemeditorfactory_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/itemviews/qitemeditorfactory_p.h b/src/widgets/itemviews/qitemeditorfactory_p.h
index 409ecc684f..46a8da1d8f 100644
--- a/src/widgets/itemviews/qitemeditorfactory_p.h
+++ b/src/widgets/itemviews/qitemeditorfactory_p.h
@@ -53,9 +53,9 @@
#include <QtWidgets/private/qtwidgetsglobal_p.h>
-#include <qlineedit.h>
-#ifndef QT_NO_LINEEDIT
+#if QT_CONFIG(lineedit)
+#include <qlineedit.h>
QT_REQUIRE_CONFIG(itemviews);
@@ -89,6 +89,6 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_LINEEDIT
+#endif // QT_CONFIG(lineedit)
#endif //QITEMEDITORFACTORY_P_H