- Timestamp:
- Jul 19, 2017 12:19:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.cpp
r67966 r68045 204 204 m_fHostDrive = m_medium.GetHostDrive(); 205 205 206 /* Refresh medium description: */ 207 m_strDescription = m_medium.GetDescription(); 208 206 209 /* Refresh medium name: */ 207 210 if (!m_fHostDrive) 208 211 m_strName = m_medium.GetName(); 209 else if (m_ medium.GetDescription().isEmpty())212 else if (m_strDescription.isEmpty()) 210 213 m_strName = VBoxGlobal::tr("Host Drive '%1'", "medium").arg(QDir::toNativeSeparators(m_medium.GetLocation())); 211 214 else 212 m_strName = VBoxGlobal::tr("Host Drive %1 (%2)", "medium").arg(m_ medium.GetDescription(), m_medium.GetName());213 /* Refresh medium location /description: */215 m_strName = VBoxGlobal::tr("Host Drive %1 (%2)", "medium").arg(m_strDescription, m_medium.GetName()); 216 /* Refresh medium location: */ 214 217 if (!m_fHostDrive) 215 {216 218 m_strLocation = QDir::toNativeSeparators(m_medium.GetLocation()); 217 m_strDescription = m_medium.GetDescription();218 }219 219 220 220 /* Refresh medium size and logical size: */
Note:
See TracChangeset
for help on using the changeset viewer.