VirtualBox

Changeset 106012 in vbox


Ignore:
Timestamp:
Sep 11, 2024 4:26:15 PM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164760
Message:

FE/Qt: bugref:10513: Global Preferences / VM Settings: Small cleanup for polishing stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.cpp

    r105994 r106012  
    948948    /* Polish stuff: */
    949949    if (!m_fPolished)
    950     {
    951         m_fPolished = true;
    952950        polishEvent();
    953     }
    954951
    955952    /* Call to base-class: */
     
    959956void UIAdvancedSettingsDialog::polishEvent()
    960957{
     958    /* Prevent handler from calling twice: */
     959    m_fPolished = true;
     960
    961961    /* Install event-filters for all the required children.
    962962     * These children can be added together with pages. */
     
    975975    }
    976976
     977    /* Choose page/tab finally: */
     978    choosePageAndTab();
     979
     980    /* Apply actual experience mode: */
     981    sltHandleExperienceModeChanged();
     982
    977983    /* Resize to minimum size: */
    978984    resize(minimumSizeHint());
    979 
    980     /* Choose page/tab finally: */
    981     choosePageAndTab();
    982 
    983     /* Apply actual experience mode: */
    984     sltHandleExperienceModeChanged();
    985 
    986985    /* Explicit centering according to our parent: */
    987986    gpDesktop->centerWidget(this, parentWidget(), false);
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