summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcalendarwidget.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-22 15:15:12 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-25 11:23:41 +0000
commit3ade30a2af5b64cb2437d214f25e4dcbfa00c49d (patch)
tree50577ff900aff639a8f064ce0579b801b136419a /src/widgets/widgets/qcalendarwidget.h
parent9a0e8895d6c254e060125060b15b039784405b85 (diff)
Convert features.calendarwidget to QT_[REQUIRE_]CONFIG
Change-Id: I93c2e00828a233f004c599bd0702d0a470ae29ff Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/widgets/qcalendarwidget.h')
-rw-r--r--src/widgets/widgets/qcalendarwidget.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/widgets/widgets/qcalendarwidget.h b/src/widgets/widgets/qcalendarwidget.h
index 7780065117..29e2ff698b 100644
--- a/src/widgets/widgets/qcalendarwidget.h
+++ b/src/widgets/widgets/qcalendarwidget.h
@@ -44,10 +44,9 @@
#include <QtWidgets/qwidget.h>
#include <QtCore/qdatetime.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(calendarwidget);
-#ifndef QT_NO_CALENDARWIDGET
+QT_BEGIN_NAMESPACE
class QDate;
class QTextCharFormat;
@@ -184,9 +183,6 @@ private:
};
-#endif // QT_NO_CALENDARWIDGET
-
QT_END_NAMESPACE
#endif // QCALENDARWIDGET_H
-