[rkward-cvs] SF.net SVN: rkward-code:[4718] trunk/rkward/rkward/rbackend/rkwarddevice/ rkgraphicsdevice.cpp
tfry at users.sf.net
tfry at users.sf.net
Wed Apr 24 18:06:18 UTC 2013
Revision: 4718
http://sourceforge.net/p/rkward/code/4718
Author: tfry
Date: 2013-04-24 18:06:17 +0000 (Wed, 24 Apr 2013)
Log Message:
-----------
Qt < 4.7 had only 'Mid', not 'Middle' button.
Modified Paths:
--------------
trunk/rkward/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
Modified: trunk/rkward/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp 2013-04-24 18:04:44 UTC (rev 4717)
+++ trunk/rkward/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp 2013-04-24 18:06:17 UTC (rev 4718)
@@ -325,7 +325,7 @@
sev.y = me->y ();
sev.buttons = 0;
if (me->buttons () & Qt::LeftButton) sev.buttons |= RKDMouseLeftButton;
- if (me->buttons () & Qt::MiddleButton) sev.buttons |= RKDMouseMiddleButton;
+ if (me->buttons () & Qt::MidButton) sev.buttons |= RKDMouseMiddleButton;
if (me->buttons () & Qt::RightButton) sev.buttons |= RKDMouseRightButton;
// Mouse move event may be generated much faster than R can handle them. We simply lump them together
More information about the rkward-tracker
mailing list