summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qundostack_p.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-06-25 09:31:35 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-28 16:15:47 +0000
commita4d190554ae3d35b53cd7e7823a23f548bd24cfe (patch)
treee044686c947e6f54618efe7855ba0427484aee3e /src/widgets/util/qundostack_p.h
parent61b47df3915abeec44b830fda211cb1105070500 (diff)
Convert features.undostack to QT_CONFIG
Change-Id: I7fc3aa44625fc97b802def4954f88c091c53f876 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/util/qundostack_p.h')
-rw-r--r--src/widgets/util/qundostack_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widgets/util/qundostack_p.h b/src/widgets/util/qundostack_p.h
index e92a1fe620..04bc381114 100644
--- a/src/widgets/util/qundostack_p.h
+++ b/src/widgets/util/qundostack_p.h
@@ -74,7 +74,7 @@ public:
bool obsolete;
};
-#ifndef QT_NO_UNDOSTACK
+#if QT_CONFIG(undostack)
class QUndoStackPrivate : public QObjectPrivate
{
@@ -108,7 +108,6 @@ private:
};
#endif // QT_NO_ACTION
-
QT_END_NAMESPACE
-#endif // QT_NO_UNDOSTACK
+#endif // QT_CONFIG(undostack)
#endif // QUNDOSTACK_P_H