VirtualBox

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


Ignore:
Timestamp:
Nov 9, 2009 12:36:53 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: 4370: Unable to auto-mount Guest Additions image while pressing Host+D: Added a warning if no CD/DVD-ROM drives found.

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

Legend:

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

    r23948 r24500  
    297297
    298298    int cannotFindGuestAdditions (const QString &aSrc1, const QString &aSrc2);
    299     void cannotDownloadGuestAdditions (const QString &aURL,
    300                                        const QString &aReason);
     299    void cannotDownloadGuestAdditions (const QString &aURL, const QString &aReason);
     300    void cannotMountGuestAdditions (const QString &aMachineName);
    301301    bool confirmDownloadAdditions (const QString &aURL, ulong aSize);
    302302    bool confirmMountAdditions (const QString &aURL, const QString &aSrc);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r24493 r24500  
    11041104    else
    11051105    {
    1106         /* TODO: Make warning about DVD is missing! */
     1106        vboxProblem().cannotMountGuestAdditions (m.GetName());
    11071107    }
    11081108}
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r24422 r24500  
    14891489}
    14901490
     1491void VBoxProblemReporter::cannotMountGuestAdditions (const QString &aMachineName)
     1492{
     1493    message (&vboxGlobal().consoleWnd(), Error,
     1494             tr ("<p>Could not attach the VirtualBox Guest Additions "
     1495                 "installer to the virtual machine <b>%1</b>, as the machine "
     1496                 "has no CD/DVD-ROM drives. Please add a drive using the "
     1497                 "storage page of the virtual machine settings dialog.</p>")
     1498                 .arg (aMachineName));
     1499}
     1500
    14911501bool VBoxProblemReporter::confirmDownloadAdditions (const QString &aURL,
    14921502                                                    ulong aSize)
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