VirtualBox

Changeset 29723 in vbox for trunk


Ignore:
Timestamp:
May 21, 2010 11:56:03 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: fix burns (pageIds >= Qt 4.5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.cpp

    r29722 r29723  
    163163void QIWizard::retranslateAllPages()
    164164{
    165     QList<int> idList = pageIds();
    166     for(int i=0; i < idList.size(); ++i)
    167         static_cast<QIWizardPage*>(page(idList.at(i)))->retranslateUi();
     165    QList<QIWizardPage*> pages = findChildren<QIWizardPage*>();
     166    for(int i=0; i < pages.size(); ++i)
     167        static_cast<QIWizardPage*>(pages.at((i)))->retranslateUi();
    168168}
    169169
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