Revert "Better right-click behaviour, context menu on mouse-up instead of mouse down"

This reverts commit 00a945d84b59d6469e0c85335dc0ad4067d9f2ab.

NOPE.
This commit is contained in:
Petr Mrázek
2014-03-17 07:48:50 +01:00
parent c33e5ca62e
commit 919dea0de6
2 changed files with 1 additions and 9 deletions

View File

@ -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)