menu->addAction(group);
}
- menu->exec(event->globalPos());
+ menu->popup(event->globalPos());
}
void Header::keyPressEvent(QKeyEvent *event)
QMenu *menu = r->create_header_context_menu(this);
if (menu)
- menu->exec(event->globalPos());
+ menu->popup(event->globalPos());
}
void MarginWidget::keyPressEvent(QKeyEvent *event)
QMenu *menu = r->create_view_context_menu(this, pos);
if (menu)
- menu->exec(event->globalPos());
+ menu->popup(event->globalPos());
}
void View::resizeEvent(QResizeEvent* event)