Changeset 23609 in vbox
- Timestamp:
- Oct 7, 2009 8:51:55 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxMedium.cpp
r23585 r23609 79 79 mIsHostDrive = mMedium.isNull() ? false : mMedium.GetHostDrive(); 80 80 81 mName = mMedium.isNull() ? VBoxGlobal::tr ("Empty", "medium") : 82 !mIsHostDrive ? mMedium.GetName() : 83 VBoxGlobal::tr ("Host Drive '%1'", "medium").arg (QDir::toNativeSeparators (mMedium.GetLocation())); 81 if (mMedium.isNull()) 82 mName = VBoxGlobal::tr ("Empty", "medium"); 83 else if (!mIsHostDrive) 84 mName = mMedium.GetName(); 85 else if (mMedium.GetDescription().isNull()) 86 mName = VBoxGlobal::tr ("Host Drive '%1'", "medium").arg (QDir::toNativeSeparators (mMedium.GetLocation())); 87 else 88 mName = VBoxGlobal::tr ("Host Drive %1 (%2)", "medium").arg (mMedium.GetDescription(), mMedium.GetName()); 84 89 85 90 mLocation = mMedium.isNull() || mIsHostDrive ? QString ("--") :
Note:
See TracChangeset
for help on using the changeset viewer.