diff --git a/src/undostack.h b/src/undostack.h index 78ccda626..b71c2d671 100644 --- a/src/undostack.h +++ b/src/undostack.h @@ -61,7 +61,7 @@ private: Q_DISABLE_COPY(UndoStack) void slotMoveResult(KJob *); QList mStack; - int mSize = 0; + const int mSize = 0; int mLastId = 0; UndoInfo *mCachedInfo = nullptr; };