VirtualBox

Changeset 75213 in vbox for trunk


Ignore:
Timestamp:
Oct 31, 2018 7:47:14 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126303
Message:

FE/Qt: bugref:4397: Prevent Media Manager from stealing focus.

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

Legend:

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

    r75209 r75213  
    251251        || (pTreeWidgetFD && pTreeWidgetFD->topLevelItemCount()))
    252252        sltRefreshAll();
    253 }
    254 
    255 void UIMediumManagerWidget::showEvent(QShowEvent *pEvent)
    256 {
    257     /* Call to base-class: */
    258     QIWithRetranslateUI<QWidget>::showEvent(pEvent);
    259 
    260     /* Focus current tree-widget: */
    261     if (currentTreeWidget())
    262         currentTreeWidget()->setFocus();
    263253}
    264254
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.h

    r74942 r75213  
    128128        /** Handles translation event. */
    129129        virtual void retranslateUi() /* override */;
    130 
    131         /** Handles @a pShow event. */
    132         virtual void showEvent(QShowEvent *pEvent) /* override */;
    133130    /** @} */
    134131
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