Changeset 16953 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 19, 2009 3:50:37 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h
r16694 r16953 341 341 QRect mLastSizeHint; 342 342 bool mPassCAD; 343 bool mHideHostPointer; 343 344 }; 344 345 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r16791 r16953 737 737 , mDesktopGeo (DesktopGeo_Invalid) 738 738 , mPassCAD (false) 739 , mHideHostPointer (false) 739 740 { 740 741 Assert (!mConsole.isNull() && … … 1210 1211 * http://trolltech.com/developer/task-tracker/index_html?id=206165&method=entry 1211 1212 * for details. */ 1212 QCursor cursor = viewport()->cursor(); 1213 QCursor cursor; 1214 if (!mHideHostPointer) 1215 cursor = viewport()->cursor(); 1216 else 1217 cursor = QCursor (Qt::BlankCursor); 1213 1218 mFrameBuf->resizeEvent (re); 1214 viewport()->setCursor (cursor);1219 viewport()->setCursor (cursor); 1215 1220 #else 1216 1221 mFrameBuf->resizeEvent (re); 1217 viewport()->unsetCursor(); 1222 if (!mHideHostPointer) 1223 viewport()->unsetCursor(); 1224 else 1225 viewport()->setCursor (QCursor (Qt::BlankCursor)); 1218 1226 #endif 1219 1227 … … 3779 3787 } 3780 3788 } 3789 mHideHostPointer = !me->isVisible(); 3781 3790 } 3782 3791
Note:
See TracChangeset
for help on using the changeset viewer.