Changeset 24080 in vbox for trunk/src/VBox
- Timestamp:
- Oct 26, 2009 2:42:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53956
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r23997 r24080 2668 2668 .arg (vboxGlobal().toString (StorageSlot (controller.GetBus(), attachment.GetPort(), attachment.GetDevice()))) 2669 2669 .arg (vboxMedium.isNull() || vboxMedium.isHostDrive() ? vboxMedium.name() : vboxMedium.location()); 2670 attachmentsPresent = true; 2670 if (!vboxMedium.isNull()) 2671 attachmentsPresent = true; 2671 2672 } 2672 2673 if (!attData.isNull()) … … 2674 2675 } 2675 2676 2676 if ( !attachmentsPresent)2677 data += tr ("<br><nobr><b>No CD/DVD devices attached</b></nobr>", "CD/DVD tooltip");2677 if (data.isNull()) 2678 data = tr ("<br><nobr><b>No CD/DVD devices attached</b></nobr>", "CD/DVD tooltip"); 2678 2679 2679 2680 mCDLed->setToolTip (tip.arg (data)); … … 2702 2703 .arg (vboxGlobal().toString (StorageSlot (controller.GetBus(), attachment.GetPort(), attachment.GetDevice()))) 2703 2704 .arg (vboxMedium.isNull() || vboxMedium.isHostDrive() ? vboxMedium.name() : vboxMedium.location()); 2704 attachmentsPresent = true; 2705 if (!vboxMedium.isNull()) 2706 attachmentsPresent = true; 2705 2707 } 2706 2708 if (!attData.isNull()) … … 2708 2710 } 2709 2711 2710 if ( !attachmentsPresent)2711 data += tr ("<br><nobr><b>No floppy devices attached</b></nobr>", "FD tooltip");2712 if (data.isNull()) 2713 data = tr ("<br><nobr><b>No floppy devices attached</b></nobr>", "FD tooltip"); 2712 2714 2713 2715 mFDLed->setToolTip (tip.arg (data));
Note:
See TracChangeset
for help on using the changeset viewer.