Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Schöps
kdevelop
Commits
638db661
Commit
638db661
authored
Jun 25, 2019
by
Friedrich W. H. Kossebau
Browse files
scratchpad: port foreach -> range-based for
parent
73075601
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/scratchpad/scratchpadview.cpp
View file @
638db661
...
...
@@ -180,7 +180,7 @@ void ScratchpadView::validateItemActions()
{
bool
enable
=
currentIndex
().
isValid
();
for
(
auto
*
action
:
m_itemActions
)
{
for
(
auto
*
action
:
qAsConst
(
m_itemActions
)
)
{
action
->
setEnabled
(
enable
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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