Changeset 20336 in vbox
- Timestamp:
- Jun 5, 2009 2:20:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxExportApplianceWzd.cpp
r20138 r20336 101 101 mWValFileSelector, SLOT (revalidate())); 102 102 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)); 106 106 107 107 mWValFileSelector->revalidate(); … … 112 112 retranslateUi(); 113 113 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); 118 124 } 119 125 … … 235 241 if (exportVMs (*appliance)) 236 242 { 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()); 241 247 QIAbstractWizard::accept(); 242 248 }
Note:
See TracChangeset
for help on using the changeset viewer.