summaryrefslogtreecommitdiffstats
path: root/gui/groupview/GroupView.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-03-17 07:48:50 +0100
committerPetr Mrázek <peterix@gmail.com>2014-03-17 07:48:50 +0100
commit919dea0de60d058f57a4b9bd1e5f4513a014c693 (patch)
tree065f1cf2a778448bfc5396c6fe333d3a2fde09a2 /gui/groupview/GroupView.cpp
parentc33e5ca62e57c16bf60ca294b3edc437fd35ba44 (diff)
downloadMultiMC-919dea0de60d058f57a4b9bd1e5f4513a014c693.tar
MultiMC-919dea0de60d058f57a4b9bd1e5f4513a014c693.tar.gz
MultiMC-919dea0de60d058f57a4b9bd1e5f4513a014c693.tar.lz
MultiMC-919dea0de60d058f57a4b9bd1e5f4513a014c693.tar.xz
MultiMC-919dea0de60d058f57a4b9bd1e5f4513a014c693.zip
Revert "Better right-click behaviour, context menu on mouse-up instead of mouse down"
This reverts commit 00a945d84b59d6469e0c85335dc0ad4067d9f2ab. NOPE.
Diffstat (limited to 'gui/groupview/GroupView.cpp')
-rw-r--r--gui/groupview/GroupView.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp
index 342e2523..b650efee 100644
--- a/gui/groupview/GroupView.cpp
+++ b/gui/groupview/GroupView.cpp
@@ -380,14 +380,6 @@ void GroupView::mouseReleaseEvent(QMouseEvent *event)
bool click = (index == m_pressedIndex && index.isValid()) ||
(m_pressedCategory && m_pressedCategory == categoryAt(geometryPos));
- bool isRight = event->button() == Qt::RightButton;
-
- if((index == m_pressedIndex && index.isValid()) && isRight)
- {
- emit customContextMenuRequested(event->pos());
- return;
- }
-
if (click && m_pressedCategory)
{
if (state() == ExpandingState)