VirtualBox

Changeset 11773

Show
Ignore:
Timestamp:
08/28/08 18:16:53 (3 months ago)
Author:
vboxsync
Message:

FE/Qt4: Fix wrong cursor after resize in Qt 4.4.0.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r11662 r11773  
    11461146                } 
    11471147            } 
     1148            /* restoreOverrideCursor is broken in Qt 4.4.0 if WA_PaintOnScreen 
     1149             * widgets are present. This is the case on linux with SDL. As 
     1150             * workaround we set the arrow cursor manually. 
     1151             * See http://trolltech.com/developer/task-tracker/index_html?id=206165&method=entry 
     1152             * for details. */ 
     1153#if defined (Q_WS_X11) && (QT_VERSION >= 0x040309) && (QT_VERSION < 0x040401)  
     1154            qApp->setOverrideCursor(Qt::ArrowCursor); 
     1155#endif 
    11481156            break; 
    11491157        } 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy