qt-branch: Make dragging with the right mouse button work.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt@9237 4a71c877-e1ca-e34f-864e-861f7616d084
master
Cyp 2010-01-15 00:37:22 +00:00
parent dd09ed22f3
commit 52b91bfc53
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ void WzMainWindow::mousePressEvent(QMouseEvent *event)
aMouseState[idx].lastdown = 0;
}
if (idx < 2) // Not the mousewheel
if (idx == MOUSE_LMB || idx == MOUSE_RMB) // Not the mousewheel. I'm running around in the mouse wheel, but not getting anywhere. Squeak!
{
dragKey = idx;
dragX = mouseX();