VirtualBox

Ignore:
Timestamp:
Oct 8, 2009 12:05:20 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: Seems better to use GetName() instead of GetLocation() for host-drives naming for such platforms where GetDescription() is filled.

File:
1 edited

Legend:

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

    r23616 r23617  
    8686        mName = VBoxGlobal::tr ("Host Drive '%1'", "medium").arg (QDir::toNativeSeparators (mMedium.GetLocation()));
    8787    else
    88         mName = VBoxGlobal::tr ("Host Drive %1 (%2)", "medium").arg (mMedium.GetDescription(), QDir::toNativeSeparators (mMedium.GetLocation()));
     88        mName = VBoxGlobal::tr ("Host Drive %1 (%2)", "medium").arg (mMedium.GetDescription(), mMedium.GetName());
    8989
    9090    mLocation = mMedium.isNull() || mIsHostDrive ? QString ("--") :
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