- Timestamp:
- Oct 21, 2021 3:53:59 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h
r91966 r91969 1613 1613 1614 1614 /** Holds the appliance being read. */ 1615 CAppliance 1615 CAppliance m_comAppliance; 1616 1616 /** Holds the appliance path. */ 1617 QString 1617 QString m_strPath; 1618 1618 }; 1619 1619 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportApp.cpp
r91709 r91969 35 35 #include "UIWizardImportAppPageSettings.h" 36 36 #include "UIWizardImportAppPageSource.h" 37 38 /* COM includes: */39 #include "CProgress.h"40 37 41 38 … … 183 180 184 181 /* Read the file to appliance: */ 185 CProgress comProgress = comAppliance.Read(strName); 186 if (!comAppliance.isOk()) 187 { 188 msgCenter().cannotImportAppliance(comAppliance, this); 182 UINotificationProgressApplianceRead *pNotification = new UINotificationProgressApplianceRead(comAppliance, strName); 183 if (!handleNotificationProgressNow(pNotification)) 189 184 return false; 190 }191 192 /* Show Reading Appliance progress: */193 msgCenter().showModalProgressDialog(comProgress, tr("Reading Appliance ..."),194 ":/progress_reading_appliance_90px.png", this);195 if (!comProgress.isOk() || comProgress.GetResultCode() != 0)196 {197 msgCenter().cannotImportAppliance(comProgress, comAppliance.GetPath(), this);198 return false;199 }200 185 201 186 /* Now we have to interpret that stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.