Changeset 37862 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 11, 2011 10:09:29 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72759
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxApplianceEditorWgt.cpp
r35979 r37862 1088 1088 mTvSettings->header()->setResizeMode (QHeaderView::ResizeToContents); 1089 1089 1090 /* Hidden by default */ 1091 mReinitMACsCheckBox->setHidden(true); 1092 1090 1093 /* Applying language settings */ 1091 1094 retranslateUi(); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxApplianceEditorWgt.ui
r28800 r37862 10 10 you can redistribute it and/or modify it under the terms of the GNU 11 11 General Public License (GPL) as published by the Free Software 12 Foundation, in version 2 as it comes in the "COPYING"file of the12 Foundation, in version 2 as it comes in the "COPYING" file of the 13 13 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 14 14 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. … … 20 20 <x>0</x> 21 21 <y>0</y> 22 <width> 459</width>23 <height> 305</height>22 <width>548</width> 23 <height>411</height> 24 24 </rect> 25 25 </property> … … 39 39 </item> 40 40 <item> 41 <widget class="QCheckBox" name="mReinitMACsCheckBox"> 42 <property name="toolTip"> 43 <string>When checked a new unique MAC address will assigned to all configured network cards.</string> 44 </property> 45 <property name="text"> 46 <string>&Reinitialize the MAC address of all network cards</string> 47 </property> 48 </widget> 49 </item> 50 <item> 41 51 <widget class="QWidget" name="mWarningWidget" native="true"> 42 52 <property name="sizePolicy"> … … 47 57 </property> 48 58 <layout class="QVBoxLayout" name="verticalLayout"> 49 <property name="sizeConstraint">50 <enum>QLayout::SetDefaultConstraint</enum>51 </property>52 59 <property name="margin"> 53 60 <number>0</number> -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxImportApplianceWgt.cpp
r34530 r37862 42 42 : VBoxApplianceEditorWgt (aParent) 43 43 { 44 /* Show the MAC check box */ 45 mReinitMACsCheckBox->setHidden(false); 44 46 } 45 47 … … 134 136 /* Start the import asynchronously */ 135 137 CProgress progress; 136 progress = mAppliance->ImportMachines(); 138 QVector<KImportOptions> options; 139 if (!mReinitMACsCheckBox->isChecked()) 140 options.append(KImportOptions_KeepAllMACs); 141 progress = mAppliance->ImportMachines(options); 137 142 bool fResult = mAppliance->isOk(); 138 143 if (fResult)
Note:
See TracChangeset
for help on using the changeset viewer.