VirtualBox

Changeset 25358 in vbox


Ignore:
Timestamp:
Dec 14, 2009 12:28:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55959
Message:

FE/Qt4: Add (CD/DVD) string tag to details report for CD/DVD devices.

File:
1 edited

Legend:

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

    r25318 r25358  
    17551755                if (attachment.isOk())
    17561756                {
     1757                    /* Append 'device slot name' with 'device type name' for CD/DVD devices only */
     1758                    QString strDeviceType = attachment.GetType() == KDeviceType_DVD ? tr("(CD/DVD)") : QString();
     1759                    if (!strDeviceType.isNull()) strDeviceType.prepend(' ');
    17571760                    item += QString (sSectionItemTpl2)
    17581761                            .arg (QString ("  ") +
    17591762                                  toString (StorageSlot (controller.GetBus(),
    17601763                                                         attachment.GetPort(),
    1761                                                          attachment.GetDevice())))
     1764                                                         attachment.GetDevice())) +
     1765                                  strDeviceType)
    17621766                            .arg (details (medium, false));
    17631767                    ++ rows;
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