VirtualBox

Ignore:
Timestamp:
Dec 15, 2010 1:19:00 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Prevent closing global/machine settings dialog while not all the settings pages loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.h

    r34004 r35131  
    5656    virtual void sltCategoryChanged(int cId);
    5757
     58    /* Mark dialog as processed: */
     59    virtual void sltMarkProcessed();
     60
    5861protected:
    5962
     
    9194    void sltUpdateWhatsThis(bool fGotFocus = false);
    9295
     96    /* Slot to handle reject: */
     97    void reject();
     98
    9399private:
    94100
     
    96102    bool eventFilter(QObject *pObject, QEvent *pEvent);
    97103    void showEvent(QShowEvent *pEvent);
     104    void closeEvent(QCloseEvent *pEvent);
    98105
    99106    void assignValidator(UISettingsPage *pPage);
     
    103110
    104111    /* Error & Warning stuff: */
     112    bool m_fProcessed;
    105113    bool m_fValid;
    106114    bool m_fSilent;
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