Changeset 72927 in vbox
- Timestamp:
- Jul 6, 2018 7:29:16 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r72903 r72927 2722 2722 QString VBoxGlobal::showCreateFloppyDiskDialog(QWidget *pParent, const QString &strMachineName, const QString &strMachineFolder) 2723 2723 { 2724 QString strMediumID;2725 2724 UIFDCreationDialog *pDialog = new UIFDCreationDialog(pParent, strMachineName, strMachineFolder); 2726 2725 if (pDialog->exec()) 2727 2726 { 2728 strMediumID =pDialog->mediumID();2727 return pDialog->mediumID(); 2729 2728 } 2730 2729 delete pDialog; 2731 return strMediumID;2730 return QString(); 2732 2731 } 2733 2732 -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIFDCreationDialog.cpp
r72913 r72927 31 31 # include "UIFDCreationDialog.h" 32 32 # include "UIFilePathSelector.h" 33 # include "UIMedium.h" 33 34 # include "UIMessageCenter.h" 34 35 # include "VBoxGlobal.h" … … 213 214 m_strMediumID = newMedium.GetId(); 214 215 216 /* Notify VBoxGlobal about the new medium: */ 217 vboxGlobal().createMedium(UIMedium(newMedium, UIMediumType_Floppy, KMediumState_Created)); 218 219 215 220 /* After a successful creation and initilization of the floppy disk we call base class accept 216 221 effectively closing this dialog: */ -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r72903 r72927 484 484 if (pDialog->exec()) 485 485 { 486 sltHandleRefresh();486 repopulateTreeWidget(); 487 487 } 488 488 delete pDialog;
Note:
See TracChangeset
for help on using the changeset viewer.