VirtualBox

Changeset 78006 in vbox


Ignore:
Timestamp:
Apr 3, 2019 5:21:18 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9432: Fix for Close VM dialog which doesn't have own defect number. Handle only events sent to required object.

File:
1 edited

Legend:

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

    r76606 r78006  
    7979bool UIVMCloseDialog::eventFilter(QObject *pObject, QEvent *pEvent)
    8080{
     81    /* Handle events realted to our radio-buttons only: */
     82    if (   pObject != m_pRadioButtonDetach
     83        && pObject != m_pRadioButtonSave
     84        && pObject != m_pRadioButtonShutdown
     85        && pObject != m_pRadioButtonPowerOff)
     86        return QIWithRetranslateUI<QIDialog>::eventFilter(pObject, pEvent);
     87
    8188    /* For now we are interested in double-click events only: */
    8289    if (pEvent->type() == QEvent::MouseButtonDblClick)
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