Changeset 100034 in vbox
- Timestamp:
- Jun 1, 2023 11:20:25 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 157712
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r99839 r100034 1213 1213 /* Pass all multi-touch events into guest: */ 1214 1214 int iTouchPointIndex = 0; 1215 #ifdef VBOX_IS_QT6_OR_LATER /* QTouchEvent::TouchPoint was replaced by QEventPoint in 6.0 */ 1216 foreach (const QEventPoint &touchPoint, pTouchEvent->points()) 1217 #else 1215 1218 foreach (const QTouchEvent::TouchPoint &touchPoint, pTouchEvent->touchPoints()) 1219 #endif 1216 1220 { 1217 1221 /* Get touch-point state: */ … … 1219 1223 switch (touchPoint.state()) 1220 1224 { 1225 #ifdef VBOX_IS_QT6_OR_LATER /* QTouchEvent::TouchPoint was replaced by QEventPoint in 6.0 */ 1226 case QEventPoint::Pressed: 1227 case QEventPoint::Updated: 1228 case QEventPoint::Stationary: 1229 #else 1221 1230 case Qt::TouchPointPressed: 1222 1231 case Qt::TouchPointMoved: 1223 1232 case Qt::TouchPointStationary: 1233 #endif 1224 1234 iTouchPointState = KTouchContactState_InContact; 1225 1235 if (fTouchScreen)
Note:
See TracChangeset
for help on using the changeset viewer.