mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -137,7 +137,7 @@ void HelperCell::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) {
|
||||
if (actions_.isEmpty()) return;
|
||||
|
||||
QMenu context_menu;
|
||||
foreach (QAction *action, actions_) {
|
||||
for (QAction *action: actions_) {
|
||||
context_menu.addAction(action);
|
||||
}
|
||||
emit(contextMenuTriggered(this));
|
||||
|
||||
Reference in New Issue
Block a user