mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
Better right-click behaviour, context menu on mouse-up instead of mouse down
This commit is contained in:
parent
de2eb3fc54
commit
00a945d84b
2 changed files with 9 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
view->setFrameShape(QFrame::NoFrame);
|
||||
view->setModel(proxymodel);
|
||||
|
||||
view->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
//view->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(view, SIGNAL(customContextMenuRequested(const QPoint &)), this,
|
||||
SLOT(showInstanceContextMenu(const QPoint &)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue