VirtualBox

Changeset 78395 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 6, 2019 5:20:47 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7127: Small coding-style fix for media related section of message-center.

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  
    14581458}
    14591459
    1460 void UIMessageCenter::cannotOpenMedium(const CVirtualBox &vbox, UIMediumDeviceType, const QString &strLocation, QWidget *pParent /* = 0*/) const
     1460void UIMessageCenter::cannotOpenMedium(const CVirtualBox &comVBox, const QString &strLocation, QWidget *pParent /* = 0 */) const
    14611461{
    14621462    /* Show the error: */
    14631463    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));
    14651465}
    14661466
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r78177 r78395  
    342342    void cannotDetachDevice(const CMachine &machine, UIMediumDeviceType type, const QString &strLocation, const StorageSlot &storageSlot, QWidget *pParent = 0) const;
    343343    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;
    345345    void cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent = 0) const;
    346346
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r78159 r78395  
    26362636    }
    26372637    else
    2638         msgCenter().cannotOpenMedium(comVBox, enmMediumType, strMediumLocation, pParent);
     2638        msgCenter().cannotOpenMedium(comVBox, strMediumLocation, pParent);
    26392639
    26402640    return QUuid();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette