VirtualBox

Changeset 94008 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 1, 2022 1:08:55 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: qt6: Qt::MidButton -> Qt::MiddleButton (5.0 or earlier). bugref:9898

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

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

    r93998 r94008  
    650650    {
    651651        if ((pEvent->modifiers() & Qt::ControlModifier) ||
    652             pEvent->button() == Qt::MidButton)
     652            pEvent->button() == Qt::MiddleButton)
    653653        {
    654654            QString strLink = source().resolved(strAnchor).toString();
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r93115 r94008  
    916916    if (mouseButtons & Qt::RightButton)
    917917        iMouseButtonsState |= KMouseButtonState_RightButton;
    918     if (mouseButtons & Qt::MidButton)
     918    if (mouseButtons & Qt::MiddleButton)
    919919        iMouseButtonsState |= KMouseButtonState_MiddleButton;
    920920    if (mouseButtons & Qt::XButton1)
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