VirtualBox

Changeset 89540 in vbox


Ignore:
Timestamp:
Jun 7, 2021 8:09:55 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Activating image overlay mode upon mouse press rather than mouse release

File:
1 edited

Legend:

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

    r89409 r89540  
    633633}
    634634
    635 void UIHelpViewer::mouseReleaseEvent(QMouseEvent *pEvent)
     635void UIHelpViewer::mousePressEvent(QMouseEvent *pEvent)
    636636{
    637637    bool fOverlayMode = m_fOverlayMode;
     
    649649        }
    650650    }
    651     QIWithRetranslateUI<QTextBrowser>::mouseReleaseEvent(pEvent);
     651    QIWithRetranslateUI<QTextBrowser>::mousePressEvent(pEvent);
    652652
    653653    if (!fOverlayMode)
     
    655655}
    656656
    657 void UIHelpViewer::mousePressEvent(QMouseEvent *pEvent)
    658 {
    659     QIWithRetranslateUI<QTextBrowser>::mousePressEvent(pEvent);
     657void UIHelpViewer::mouseReleaseEvent(QMouseEvent *pEvent)
     658{
     659    QIWithRetranslateUI<QTextBrowser>::mouseReleaseEvent(pEvent);
    660660}
    661661
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