VirtualBox

Changeset 38427 in vbox


Ignore:
Timestamp:
Aug 12, 2011 9:43:09 AM (13 years ago)
Author:
vboxsync
Message:

FE/Qt4: fix changing of clone wizard buttons on older Qt versions

File:
1 edited

Legend:

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

    r38311 r38427  
    263263{
    264264    setFinalPage(pButton != m_pFullCloneRadio);
     265    /* On older Qt versions the content of the current page isn't updated when
     266     * using setFinalPage. So switch back and for to simulate it. */
     267#if QT_VERSION < 0x040700
     268    wizard()->back();
     269    wizard()->next();
     270#endif
    265271}
    266272
     
    272278    /* Set 'Page2' page title: */
    273279    setTitle(tr("Cloning Configuration"));
    274 
    275280
    276281    QString strLabel = tr("<p>Please select the type of the clone.</p><p>If you choose <b>Full Clone</b> an exact copy (including all virtual disk images) of the original VM will be created. If you select <b>Linked Clone</b>, a new VM will be created, but the virtual disk images will point to the virtual disk images of original VM.</p>");
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