VirtualBox

Ignore:
Timestamp:
Aug 8, 2017 8:23:53 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8400: Medium details widget: More suitable error message for dynamical medium shrinking case (s.a. r117448).

File:
1 edited

Legend:

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

    r68327 r68330  
    693693//                                               .arg(m_oldData.m_options.m_strDescription).arg(m_newData.m_options.m_strDescription));
    694694    if (!pWidget || pWidget == m_pErrorPaneSize)
    695         m_pErrorPaneSize->setToolTip(tr("Cannot change medium size from <b>%1</b> to <b>%2</b> as storage shrinking is currently forbidden.")
    696                                          .arg(m_oldData.m_options.m_uLogicalSize).arg(m_newData.m_options.m_uLogicalSize));
     695        m_pErrorPaneSize->setToolTip(tr("Cannot change medium size from <b>%1</b> to <b>%2</b> as storage shrinking is currently not implemented.")
     696                                        .arg(vboxGlobal().formatSize(m_oldData.m_options.m_uLogicalSize))
     697                                        .arg(vboxGlobal().formatSize(m_newData.m_options.m_uLogicalSize)));
    697698}
    698699
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