VirtualBox

Ignore:
Timestamp:
Aug 14, 2017 12:13:30 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117550
Message:

FE/Qt: Removing some unused functions from UIMessageCenter

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r68394 r68411  
    481481             "VirtualBox Manager window, and select one of the existing languages on the <b>Language</b> page.</p>")
    482482             .arg(strLangFile));
    483 }
    484 
    485 void UIMessageCenter::cannotSaveGlobalConfig(const CVirtualBox &vbox) const
    486 {
    487     error(0, MessageType_Critical,
    488           tr("<p>Failed to save the global GUI configuration to <b><nobr>%1</nobr></b>.</p>"
    489              "<p>The application will now terminate.</p>")
    490              .arg(CVirtualBox(vbox).GetSettingsFilePath()),
    491           formatErrorInfo(vbox));
    492483}
    493484
     
    10121003                          QString() /* cancel button text */,
    10131004                          false /* ok button by default? */);
    1014 }
    1015 
    1016 void UIMessageCenter::cannotCreateNATNetwork(const CVirtualBox &vbox, QWidget *pParent /* = 0*/)
    1017 {
    1018     error(pParent, MessageType_Error,
    1019           tr("Failed to create NAT network."),
    1020           formatErrorInfo(vbox));
    1021 }
    1022 
    1023 void UIMessageCenter::cannotRemoveNATNetwork(const CVirtualBox &vbox, const QString &strNetworkName, QWidget *pParent /* = 0*/)
    1024 {
    1025     error(pParent, MessageType_Error,
    1026           tr("Failed to remove NAT network <b>%1</b>.")
    1027              .arg(strNetworkName),
    1028           formatErrorInfo(vbox));
    10291005}
    10301006
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r67969 r68411  
    165165    void cannotFindLanguage(const QString &strLangId, const QString &strNlsPath) const;
    166166    void cannotLoadLanguage(const QString &strLangFile) const;
    167     void cannotSaveGlobalConfig(const CVirtualBox &vbox) const;
    168167    void cannotFindMachineByName(const CVirtualBox &vbox, const QString &strName) const;
    169168    void cannotFindMachineById(const CVirtualBox &vbox, const QString &strId) const;
     
    222221    /* API: Global settings warnings: */
    223222    bool confirmNATNetworkRemoval(const QString &strName, QWidget *pParent = 0) const;
    224     void cannotCreateNATNetwork(const CVirtualBox &vbox, QWidget *pParent = 0);
    225     void cannotRemoveNATNetwork(const CVirtualBox &vbox, const QString &strNetworkName, QWidget *pParent = 0);
    226223    void cannotSetSystemProperties(const CSystemProperties &properties, QWidget *pParent = 0) const;
    227224
Note: See TracChangeset for help on using the changeset viewer.

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