summaryrefslogtreecommitdiffstats
path: root/smtreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smtreeview.cpp')
-rw-r--r--smtreeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtreeview.cpp b/smtreeview.cpp
index 024093a..63a9494 100644
--- a/smtreeview.cpp
+++ b/smtreeview.cpp
@@ -53,7 +53,7 @@ void SmTreeView::contextMenuEvent(QContextMenuEvent *e){
return;
}
QMenu contextMenu(this);
- foreach(QAction *a, actions()){
+ for(QAction *a : actions()){
contextMenu.addAction(a);
}
contextMenu.exec(e->globalPos());