Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
28280c32
Commit
28280c32
authored
Oct 12, 2021
by
Laurent Montel
😁
Browse files
Add undo limite
parent
9dd3a449
Pipeline
#88189
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/historyswitchfoldermanager.cpp
View file @
28280c32
...
...
@@ -12,6 +12,8 @@ HistorySwitchFolderManager::HistorySwitchFolderManager(QObject *parent)
:
QObject
{
parent
}
,
mUndoStack
(
new
QUndoStack
(
this
))
{
// Not necessary to store to many info
mUndoStack
->
setUndoLimit
(
10
);
}
HistorySwitchFolderManager
::~
HistorySwitchFolderManager
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment