VirtualBox

Changeset 25053 in vbox


Ignore:
Timestamp:
Nov 27, 2009 3:13:41 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Don't report any key press events on the mouse wheel event because of the buggy Qt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp

    r24971 r25053  
    17941794                QWheelEvent *we = (QWheelEvent *) e;
    17951795                if (mouseEvent (we->type(), we->pos(), we->globalPos(),
    1796                                 we->buttons(), we->modifiers(),
     1796#ifdef QT_MAC_USE_COCOA
     1797                                /* Qt Cocoa is buggy. It always reports a left
     1798                                 * button pressed when the mouse wheel event
     1799                                 * occurs. */
     1800                                0,
     1801#else /* QT_MAC_USE_COCOA */
     1802                                we->buttons(),
     1803#endif /* QT_MAC_USE_COCOA */
     1804                                we->modifiers(),
    17971805                                we->delta(), we->orientation()))
    17981806                    return true; /* stop further event handling */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette