aboutsummaryrefslogtreecommitdiff
path: root/gui/MainWindow.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-03-16 20:34:30 +0000
committerSky <git@bunnies.cc>2014-03-16 20:34:30 +0000
commit00a945d84b59d6469e0c85335dc0ad4067d9f2ab (patch)
tree597f0110ccb04d8e2c81808995b4ffd700196cf7 /gui/MainWindow.cpp
parentde2eb3fc5404cbbfd438919c250885e5e8450a82 (diff)
downloadPrismLauncher-00a945d84b59d6469e0c85335dc0ad4067d9f2ab.tar.gz
PrismLauncher-00a945d84b59d6469e0c85335dc0ad4067d9f2ab.tar.bz2
PrismLauncher-00a945d84b59d6469e0c85335dc0ad4067d9f2ab.zip
Better right-click behaviour, context menu on mouse-up instead of mouse down
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r--gui/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index 17d4630b..3ab93ba9 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -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 &)));