VirtualBox

Ignore:
Timestamp:
Oct 22, 2009 1:26:00 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53813
Message:

Frontends/VirtualBox: NULL strings are not valid as medium UUIDs for AttachDevice and MountMedium

File:
1 edited

Legend:

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

    r23585 r23982  
    386386
    387387            /* Attach empty CD/DVD ROM Device */
    388             m.AttachDevice (ideCtrName, 1, 0, KDeviceType_DVD, QString());
     388            m.AttachDevice (ideCtrName, 1, 0, KDeviceType_DVD, QString(""));
    389389            if (!m.isOk())
    390390                vboxProblem().cannotAttachDevice (this, m, VBoxDefs::MediumType_DVD, QString(), ideBus, 1, 0);
    391391
    392392            /* Attach empty Floppy Device */
    393             m.AttachDevice (floppyCtrName, 0, 0, KDeviceType_Floppy, QString());
     393            m.AttachDevice (floppyCtrName, 0, 0, KDeviceType_Floppy, QString(""));
    394394            if (!m.isOk())
    395395                vboxProblem().cannotAttachDevice (this, m, VBoxDefs::MediumType_Floppy, QString(), floppyBus, 0, 0);
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