Commit 638db661 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

scratchpad: port foreach -> range-based for

parent 73075601
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment