Changeset 17867 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 14, 2009 3:54:42 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r17784 r17867 340 340 341 341 void cannotExportAppliance (CAppliance *aAppliance, QWidget *aParent = NULL) const; 342 void cannotExportAppliance (const CMachine &aMachine, CAppliance *aAppliance, QWidget *aParent = NULL) const; 342 343 void cannotExportAppliance (const CProgress &aProgress, CAppliance *aAppliance, QWidget *aParent = NULL) const; 343 344 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxExportApplianceWzd.cpp
r17737 r17867 237 237 fResult = m.isOk(); 238 238 if (!fResult) 239 break; 239 { 240 vboxProblem().cannotExportAppliance (m, &appliance, this); 241 return false; 242 } 240 243 } 241 244 else -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r17831 r17867 2093 2093 } 2094 2094 2095 void VBoxProblemReporter::cannotExportAppliance (const CMachine &aMachine, CAppliance *aAppliance, QWidget *aParent /* = NULL */) const 2096 { 2097 if (aAppliance->isNull() || 2098 aMachine.isNull()) 2099 { 2100 message (aParent ? aParent : mainWindowShown(), 2101 Error, 2102 tr ("Failed to create an appliance.")); 2103 }else 2104 { 2105 message (aParent ? aParent : mainWindowShown(), 2106 Error, 2107 tr ("Failed to prepare the export of the appliance <b>%1</b>.").arg (aAppliance->GetPath()), 2108 formatErrorInfo (aMachine)); 2109 } 2110 } 2111 2095 2112 void VBoxProblemReporter::cannotExportAppliance (const CProgress &aProgress, CAppliance* aAppliance, QWidget *aParent /* = NULL */) const 2096 2113 {
Note:
See TracChangeset
for help on using the changeset viewer.