Changeset 78848 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 29, 2019 1:32:08 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r78823 r78848 1917 1917 } 1918 1918 1919 void UIMessageCenter::cannotAcquireCloudInstanceInfo(const CCloudClient &comClient, QWidget *pParent /* = 0 */) const1920 {1921 error(pParent, MessageType_Critical, tr("<p>Cannot acquire a cloud instance information.</p>"),1922 UIErrorString::formatErrorInfo(comClient));1923 }1924 1925 1919 void UIMessageCenter::cannotImportAppliance(CAppliance &appliance, QWidget *pParent /* = 0*/) const 1926 1920 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r78823 r78848 407 407 void cannotCreateVirtualSystemDescription(const CAppliance &comAppliance, QWidget *pParent = 0) const; 408 408 void cannotAcquireVirtualSystemDescription(const CAppliance &comAppliance, QWidget *pParent = 0) const; 409 void cannotAcquireCloudInstanceInfo(const CCloudClient &comClient, QWidget *pParent = 0) const;410 409 void cannotImportAppliance(CAppliance &appliance, QWidget *pParent = 0) const; 411 410 void cannotImportAppliance(const CProgress &progress, const QString &strPath, QWidget *pParent = 0) const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp
r78846 r78848 369 369 370 370 /* Populate virtual system description with default values: */ 371 /// @todo make sure this is a progress returning call 372 m_comCloudClient.GetInstanceInfo(machineId(), comDescription); 371 CProgress comInstanceInfoProgress = m_comCloudClient.GetInstanceInfo(machineId(), comDescription); 373 372 if (!m_comCloudClient.isOk()) 374 373 { 375 msgCenter().cannotAcquireCloudInstanceInfo(m_comCloudClient); 374 msgCenter().cannotAcquireCloudClientParameter(m_comCloudClient); 375 break; 376 } 377 378 /* Show "Acquire intance info" progress: */ 379 msgCenter().showModalProgressDialog(comInstanceInfoProgress, UIWizardImportApp::tr("Acquire intance info..."), 380 ":/progress_reading_appliance_90px.png", 0, 0); 381 if (!comInstanceInfoProgress.isOk() || comInstanceInfoProgress.GetResultCode() != 0) 382 { 383 msgCenter().cannotAcquireCloudClientParameter(comInstanceInfoProgress); 376 384 break; 377 385 }
Note:
See TracChangeset
for help on using the changeset viewer.