summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qabstractspinbox.cpp
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-09 11:37:40 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-11 02:52:29 +0000
commit6cd46c9a61c3493b975416ec4309af75db5dafaf (patch)
tree29e4b5e744e0a2702bbbc17d0acea9f6090a9245 /src/widgets/widgets/qabstractspinbox.cpp
parent3835194d340f8756d2ac7a5f9ae2a3519cb891b9 (diff)
Convert features.datetimeedit to QT_[REQUIRE_]CONFIG
Change-Id: I083cd565fab8c33dc3633b71f962de099c2b3481 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/widgets/qabstractspinbox.cpp')
-rw-r--r--src/widgets/widgets/qabstractspinbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qabstractspinbox.cpp b/src/widgets/widgets/qabstractspinbox.cpp
index 4a3abe0c32..22f3745b26 100644
--- a/src/widgets/widgets/qabstractspinbox.cpp
+++ b/src/widgets/widgets/qabstractspinbox.cpp
@@ -49,7 +49,9 @@
#include <qstylehints.h>
#include <qclipboard.h>
#include <qdatetime.h>
+#if QT_CONFIG(datetimeedit)
#include <qdatetimeedit.h>
+#endif
#include <qevent.h>
#include <qmenu.h>
#include <qpainter.h>