VirtualBox

Changeset 20336 in vbox


Ignore:
Timestamp:
Jun 5, 2009 2:20:43 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: disabled internet based OVF export again

File:
1 edited

Legend:

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

    r20138 r20336  
    101101             mWValFileSelector, SLOT (revalidate()));
    102102
    103     mLeUsername->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Username));
    104     mLeHostname->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Hostname));
    105     mLeBucket->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Bucket));
     103//    mLeUsername->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Username));
     104//    mLeHostname->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Hostname));
     105//    mLeBucket->setText (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_Bucket));
    106106
    107107    mWValFileSelector->revalidate();
     
    112112    retranslateUi();
    113113
    114     bool ok;
    115     StorageType type = StorageType (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_StorageType).toInt(&ok));
    116     if (ok)
    117         setCurrentStorageType (type);
     114    /* Type selection is disabled for now */
     115    connect (mBtnNext2, SIGNAL (clicked(bool)),
     116             mBtnNext3, SLOT (click()));
     117    connect (mBtnBack4, SIGNAL (clicked(bool)),
     118             mBtnBack3, SLOT (click()));
     119
     120//    bool ok;
     121//    StorageType type = StorageType (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_Export_StorageType).toInt(&ok));
     122//    if (ok)
     123//        setCurrentStorageType (type);
    118124}
    119125
     
    235241    if (exportVMs (*appliance))
    236242    {
    237         vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_StorageType, QString::number(currentStorageType()));
    238         vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Username, mLeUsername->text());
    239         vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Hostname, mLeHostname->text());
    240         vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Bucket, mLeBucket->text());
     243//        vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_StorageType, QString::number(currentStorageType()));
     244//        vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Username, mLeUsername->text());
     245//        vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Hostname, mLeHostname->text());
     246//        vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_Export_Bucket, mLeBucket->text());
    241247        QIAbstractWizard::accept();
    242248    }
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