Index: /trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp	(revision 24709)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp	(revision 24710)
@@ -1274,10 +1274,14 @@
 
                 /* do frame buffer dependent resize */
-#if defined (Q_WS_X11) && (QT_VERSION >= 0x040309) && (QT_VERSION < 0x040401)
+
                 /* restoreOverrideCursor() is broken in Qt 4.4.0 if WA_PaintOnScreen
                  * widgets are present. This is the case on linux with SDL. As
                  * workaround we save/restore the arrow cursor manually. See
                  * http://trolltech.com/developer/task-tracker/index_html?id=206165&method=entry
-                 * for details. */
+                 * for details.
+                 *
+                 * Moreover the current cursor, which could be set by the guest,
+                 * should be restored after resize.
+                 */
                 QCursor cursor;
                 if (shouldHideHostPointer())
@@ -1287,11 +1291,4 @@
                 mFrameBuf->resizeEvent (re);
                 viewport()->setCursor (cursor);
-#else
-                mFrameBuf->resizeEvent (re);
-                if (shouldHideHostPointer())
-                    viewport()->setCursor (QCursor (Qt::BlankCursor));
-                else
-                    viewport()->unsetCursor();
-#endif
 
 #ifdef Q_WS_MAC
