VirtualBox

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


Ignore:
Timestamp:
Apr 3, 2019 3:58:32 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129773
Message:

FE/Qt: bugref:9072: Removing unused eventFilter from UIDialogPanel, its base-class (QWidget) wouldn't consume event anyway unless it's really required.

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

Legend:

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

    r77308 r78001  
    9595}
    9696
    97 bool UIDialogPanel::eventFilter(QObject *pObject, QEvent *pEvent)
    98 {
    99     Q_UNUSED(pObject);
    100     Q_UNUSED(pEvent);
    101     /* Dont consume this event. Pass it back to Qt's event system: */
    102     return false;
    103 }
    104 
    10597void UIDialogPanel::showEvent(QShowEvent *pEvent)
    10698{
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDialogPanel.h

    r76950 r78001  
    6060    void retranslateUi() /* override */;
    6161
    62     /** Handles Qt @a pEvent, used for keyboard processing. */
    63     bool eventFilter(QObject *pObject, QEvent *pEvent);
    6462    /** Handles the Qt show @a pEvent. */
    6563    void showEvent(QShowEvent *pEvent);
Note: See TracChangeset for help on using the changeset viewer.

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