Changeset 77189 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 6, 2019 8:47:57 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128678
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r77188 r77189 2750 2750 if (pDialog->exec()) 2751 2751 { 2752 delete pDialog; 2752 2753 return pDialog->mediumID(); 2753 2754 } -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r77186 r77189 76 76 , m_pSearchWidget(0) 77 77 , m_iCurrentShownIndex(0) 78 , m_strMachine SettingsFilePath(machineSettingsFilePath)78 , m_strMachineFolder(machineSettingsFilePath) 79 79 , m_strMachineName(machineName) 80 80 , m_strMachineGuestOSTypeId(strMachineGuestOSTypeId) … … 438 438 439 439 if (m_enmMediumType == UIMediumDeviceType_Floppy) 440 uMediumId = vboxGlobal().showCreateFloppyDiskDialog(this, m_strMachineName, m_strMachine SettingsFilePath);440 uMediumId = vboxGlobal().showCreateFloppyDiskDialog(this, m_strMachineName, m_strMachineFolder); 441 441 else if (m_enmMediumType == UIMediumDeviceType_HardDisk) 442 uMediumId = vboxGlobal().createHDWithNewHDWizard(this, m_strMachineGuestOSTypeId, m_strMachine SettingsFilePath);442 uMediumId = vboxGlobal().createHDWithNewHDWizard(this, m_strMachineGuestOSTypeId, m_strMachineFolder); 443 443 else if (m_enmMediumType == UIMediumDeviceType_DVD) 444 uMediumId = vboxGlobal().createVisoMediumWithVisoCreator(this, m_strMachineName, m_strMachine SettingsFilePath);444 uMediumId = vboxGlobal().createVisoMediumWithVisoCreator(this, m_strMachineName, m_strMachineFolder); 445 445 446 446 if (!uMediumId.isNull()) -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.h
r77186 r77189 146 146 int m_iCurrentShownIndex; 147 147 QBrush m_defaultItemForeground; 148 QString m_strMachine SettingsFilePath;148 QString m_strMachineFolder; 149 149 QString m_strMachineName; 150 150 QString m_strMachineGuestOSTypeId; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r77186 r77189 3800 3800 QUuid uMediumId; 3801 3801 int iAnswer = static_cast<int>(UIMediumSelector::ReturnCode_Rejected); 3802 3802 3803 switch (enmDevice) 3803 3804 { … … 3805 3806 { 3806 3807 iAnswer = vboxGlobal().openMediumSelectorDialog(this, UIMediumDeviceType_HardDisk, uMediumId, 3807 m_strMachineName, m_strMachineSettingsFilePath,3808 m_strMachineName, strMachineFolder, 3808 3809 m_strMachineGuestOSTypeId); 3809 3810 break; … … 3812 3813 { 3813 3814 iAnswer = vboxGlobal().openMediumSelectorDialog(this, UIMediumDeviceType_DVD, uMediumId, 3814 m_strMachineName, m_strMachineSettingsFilePath);3815 m_strMachineName, strMachineFolder); 3815 3816 break; 3816 3817 } … … 3818 3819 { 3819 3820 iAnswer = vboxGlobal().openMediumSelectorDialog(this, UIMediumDeviceType_Floppy, uMediumId, 3820 m_strMachineName, m_strMachineSettingsFilePath);3821 m_strMachineName, strMachineFolder); 3821 3822 } 3822 3823 default: break; /* Shut up, MSC! */
Note:
See TracChangeset
for help on using the changeset viewer.