VirtualBox

Changeset 4045 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 6, 2007 3:41:45 PM (17 years ago)
Author:
vboxsync
Message:

2142: GUI should download Additions:

SaveAs dialog will be invoked only in case of saving to default location (VBox HomeDir) was failed.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r3947 r4045  
    200200    int confirmDownloadAdditions (const QString &aURL, ulong aSize);
    201201    int confirmMountAdditions (const QString &aURL, const QString &aSrc);
     202    void warnAboutCouldNotSaveAdditions (const QString &aSrc);
    202203    void warnAboutTooOldAdditions (QWidget *, const QString &, const QString &);
    203204    void warnAboutOldAdditions (QWidget *, const QString &, const QString &);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r3974 r4045  
    13061306}
    13071307
     1308void VBoxProblemReporter::warnAboutCouldNotSaveAdditions (const QString &aSrc)
     1309{
     1310    message (&vboxGlobal().consoleWnd(), Error,
     1311             tr ("<p>Could not save the downloaded file as "
     1312             "<nobr><b>%1</b>.</nobr></p>").arg (aSrc));
     1313}
     1314
    13081315void VBoxProblemReporter::warnAboutTooOldAdditions (QWidget *aParent,
    13091316                                                    const QString &aInstalledVer,
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