- Timestamp:
- May 6, 2019 5:20:47 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r78177 r78395 1458 1458 } 1459 1459 1460 void UIMessageCenter::cannotOpenMedium(const CVirtualBox & vbox, UIMediumDeviceType, const QString &strLocation, QWidget *pParent /* = 0*/) const1460 void UIMessageCenter::cannotOpenMedium(const CVirtualBox &comVBox, const QString &strLocation, QWidget *pParent /* = 0 */) const 1461 1461 { 1462 1462 /* Show the error: */ 1463 1463 error(pParent, MessageType_Error, 1464 tr("Failed to open the disk image file <nobr><b>%1</b></nobr>.").arg(strLocation), UIErrorString::formatErrorInfo( vbox));1464 tr("Failed to open the disk image file <nobr><b>%1</b></nobr>.").arg(strLocation), UIErrorString::formatErrorInfo(comVBox)); 1465 1465 } 1466 1466 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r78177 r78395 342 342 void cannotDetachDevice(const CMachine &machine, UIMediumDeviceType type, const QString &strLocation, const StorageSlot &storageSlot, QWidget *pParent = 0) const; 343 343 bool cannotRemountMedium(const CMachine &machine, const UIMedium &medium, bool fMount, bool fRetry, QWidget *pParent = 0) const; 344 void cannotOpenMedium(const CVirtualBox & vbox, UIMediumDeviceType type, const QString &strLocation, QWidget *pParent = 0) const;344 void cannotOpenMedium(const CVirtualBox &comVBox, const QString &strLocation, QWidget *pParent = 0) const; 345 345 void cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent = 0) const; 346 346 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r78159 r78395 2636 2636 } 2637 2637 else 2638 msgCenter().cannotOpenMedium(comVBox, enmMediumType,strMediumLocation, pParent);2638 msgCenter().cannotOpenMedium(comVBox, strMediumLocation, pParent); 2639 2639 2640 2640 return QUuid();
Note:
See TracChangeset
for help on using the changeset viewer.