Changeset 24710 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 17, 2009 10:14:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r24488 r24710 1274 1274 1275 1275 /* do frame buffer dependent resize */ 1276 #if defined (Q_WS_X11) && (QT_VERSION >= 0x040309) && (QT_VERSION < 0x040401) 1276 1277 1277 /* restoreOverrideCursor() is broken in Qt 4.4.0 if WA_PaintOnScreen 1278 1278 * widgets are present. This is the case on linux with SDL. As 1279 1279 * workaround we save/restore the arrow cursor manually. See 1280 1280 * http://trolltech.com/developer/task-tracker/index_html?id=206165&method=entry 1281 * for details. */ 1281 * for details. 1282 * 1283 * Moreover the current cursor, which could be set by the guest, 1284 * should be restored after resize. 1285 */ 1282 1286 QCursor cursor; 1283 1287 if (shouldHideHostPointer()) … … 1287 1291 mFrameBuf->resizeEvent (re); 1288 1292 viewport()->setCursor (cursor); 1289 #else1290 mFrameBuf->resizeEvent (re);1291 if (shouldHideHostPointer())1292 viewport()->setCursor (QCursor (Qt::BlankCursor));1293 else1294 viewport()->unsetCursor();1295 #endif1296 1293 1297 1294 #ifdef Q_WS_MAC
Note:
See TracChangeset
for help on using the changeset viewer.