summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qundostack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util/qundostack.h')
-rw-r--r--src/gui/util/qundostack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/util/qundostack.h b/src/gui/util/qundostack.h
index 8efad0e..8ad4b198 100644
--- a/src/gui/util/qundostack.h
+++ b/src/gui/util/qundostack.h
@@ -90,7 +90,7 @@ private:
class Q_GUI_EXPORT QUndoStack : public QObject
{
Q_OBJECT
- Q_DECLARE_PRIVATE(QUndoStack)
+ Q_DECLARE_SCOPED_PRIVATE(QUndoStack)
Q_PROPERTY(bool active READ isActive WRITE setActive)
Q_PROPERTY(int undoLimit READ undoLimit WRITE setUndoLimit)