VirtualBox

Ignore:
Timestamp:
Aug 5, 2024 1:53:49 PM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164259
Message:

FE/Qt: bugref:10513: A bit of cleanup for UINativeWizard forgotten in r164016.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.cpp

    r105363 r105582  
    581581}
    582582
    583 void UINativeWizard::deinit()
    584 {
    585     /* Remove all the pages: */
    586     m_pWidgetStack->blockSignals(true);
    587     while (m_pWidgetStack->count() > 0)
    588     {
    589         QWidget *pLastWidget = m_pWidgetStack->widget(m_pWidgetStack->count() - 1);
    590         m_pWidgetStack->removeWidget(pLastWidget);
    591         delete pLastWidget;
    592     }
    593     m_pWidgetStack->blockSignals(false);
    594 
    595     /* Update last index: */
    596     m_iLastIndex = -1;
    597     /* Update invisible pages: */
    598     m_invisiblePages.clear();
    599 
    600     /* Clean wizard finally: */
    601     cleanWizard();
    602 }
    603 
    604583void UINativeWizard::retranslatePages()
    605584{
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.h

    r105363 r105582  
    181181    /** Inits all. */
    182182    void init();
    183     /** Deinits all. */
    184     void deinit();
    185183
    186184    /** Performs pages translation. */
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