summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qundostack.cpp
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.cpp
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.cpp')
-rw-r--r--src/widgets/util/qundostack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/util/qundostack.cpp b/src/widgets/util/qundostack.cpp
index 849b3c78f2..fd0035962e 100644
--- a/src/widgets/util/qundostack.cpp
+++ b/src/widgets/util/qundostack.cpp
@@ -344,7 +344,7 @@ const QUndoCommand *QUndoCommand::child(int index) const
#endif // QT_NO_UNDOCOMMAND
-#ifndef QT_NO_UNDOSTACK
+#if QT_CONFIG(undostack)
/*!
\class QUndoStack
@@ -1334,4 +1334,4 @@ QT_END_NAMESPACE
#include "moc_qundostack.cpp"
#include "moc_qundostack_p.cpp"
-#endif // QT_NO_UNDOSTACK
+#endif // QT_CONFIG(undostack)