VirtualBox

Changeset 49657 in vbox for trunk/src


Ignore:
Timestamp:
Nov 26, 2013 11:32:28 AM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Medium Manager: Small cleanup.

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

Legend:

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

    r49582 r49657  
    232232UIMediumManager* UIMediumManager::instance() { return m_spInstance; }
    233233
    234 UIMediumManager::UIMediumManager(QWidget *pCenterWidget, bool fRefresh /* = true*/)
     234UIMediumManager::UIMediumManager(QWidget *pCenterWidget, bool fRefresh /* = true */)
    235235    : QIWithRetranslateUI2<QIMainDialog>(0, Qt::Dialog)
    236236    , m_pCenterWidget(pCenterWidget)
     
    257257
    258258/* static */
    259 void UIMediumManager::showModeless(QWidget *pCenterWidget /* = 0*/, bool fRefresh /* = true*/)
     259void UIMediumManager::showModeless(QWidget *pCenterWidget /* = 0 */, bool fRefresh /* = true */)
    260260{
    261261    /* Prepare instance if not prepared: */
     
    271271void UIMediumManager::refreshAll()
    272272{
     273    /* Start medium-enumeration: */
    273274    vboxGlobal().startMediumEnumeration();
    274275}
     
    280281
    281282    /* Ignore non-interesting mediums: */
    282     if ((medium.isNull()) || (medium.isHostDrive()))
     283    if (medium.isNull() || medium.isHostDrive())
    283284        return;
    284285
     
    432433
    433434    /* Ignore non-interesting mediums: */
    434     if ((medium.isNull()) || (medium.isHostDrive()))
     435    if (medium.isNull() || medium.isHostDrive())
    435436        return;
    436437
     
    805806    prepareContextMenu();
    806807    /* Prepare tab-widget: */
    807     preapreTabWidget();
     808    prepareTabWidget();
    808809    /* Prepare tree-widgets: */
    809810    prepareTreeWidgets();
     
    987988}
    988989
    989 void UIMediumManager::preapreTabWidget()
     990void UIMediumManager::prepareTabWidget()
    990991{
    991992    /* Tab-widget created in .ui file. */
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.h

    r49582 r49657  
    106106    void prepareToolBar();
    107107    void prepareContextMenu();
    108     void preapreTabWidget();
     108    void prepareTabWidget();
    109109    void prepareTreeWidgets();
    110110    void prepareTreeWidgetHD();
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