X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=60f3f1bb6cca414821fc867c7cfb916eabd1ecfe;hp=867561bf010b9257ac65d18e28530ef09c0edf08;hb=e8e50ceb0f0df46a6f281f6d4fd587f00fe532d3;hpb=6eebebc97f84a94f732b05a793ea8e4c000643ab diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 867561bf..60f3f1bb 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -653,7 +653,7 @@ void ChatScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) { } void ChatScene::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { - if(!event->buttons() & Qt::LeftButton) { + if(event->button() == Qt::LeftButton && _leftButtonPressed) { _leftButtonPressed = false; if(_clickMode != NoClick) { if(_clickMode == SingleClick)