Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinscreenedges/monitor.cpp
Context not available. | |||||
162 | 162 | | |||
---|---|---|---|---|---|
163 | int Monitor::selectedEdgeItem(int edge) const | 163 | int Monitor::selectedEdgeItem(int edge) const | ||
164 | { | 164 | { | ||
165 | foreach (QAction * act, popup_actions[ edge ]) | 165 | for (QAction * act : qAsConst(popup_actions[ edge ])) | ||
166 | if (act->isChecked()) | 166 | if (act->isChecked()) | ||
167 | return popup_actions[ edge ].indexOf(act); | 167 | return popup_actions[ edge ].indexOf(act); | ||
168 | abort(); | 168 | abort(); | ||
Context not available. |