diff options
Diffstat (limited to 'src/widgets/util/qundostack_p.h')
-rw-r--r-- | src/widgets/util/qundostack_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/util/qundostack_p.h b/src/widgets/util/qundostack_p.h index 1bfe992426..e92a1fe620 100644 --- a/src/widgets/util/qundostack_p.h +++ b/src/widgets/util/qundostack_p.h @@ -66,11 +66,12 @@ class QUndoGroup; class QUndoCommandPrivate { public: - QUndoCommandPrivate() : id(-1) {} + QUndoCommandPrivate() : id(-1), obsolete(false) {} QList<QUndoCommand*> child_list; QString text; QString actionText; int id; + bool obsolete; }; #ifndef QT_NO_UNDOSTACK |