VirtualBox

Changeset 34978 in vbox


Ignore:
Timestamp:
Dec 13, 2010 8:34:48 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Extension Pack GUI: Notify user about ext-pack successful installation.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

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

    r34814 r34978  
    21712171}
    21722172
     2173void VBoxProblemReporter::notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent)
     2174{
     2175    message (pParent ? pParent : mainWindowShown(),
     2176             Info,
     2177             tr("The extension pack <br><nobr><b>%1</b><nobr><br> was installed successfully.").arg(strPackName));
     2178}
     2179
    21732180void VBoxProblemReporter::warnAboutIncorrectPort (QWidget *pParent) const
    21742181{
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.h

    r34814 r34978  
    344344    bool confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion, const QString &strPackDescription, QWidget *pParent = 0);
    345345    bool confirmRemovingPackage(const QString &strPackName, QWidget *pParent = 0);
     346    void notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent = 0);
    346347
    347348    void warnAboutIncorrectPort(QWidget *pParent) const;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp

    r34892 r34978  
    145145                    extPackFile.Install();
    146146                    if (extPackFile.isOk())
     147                    {
     148                        vboxProblem().notifyAboutExtPackInstalled(strPackName, pParent);
    147149                        fInstalled = true;
     150                    }
    148151                    else
    149152                        vboxProblem().cannotInstallExtPack(strFilePath, extPackFile, pParent);
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