VirtualBox

Changeset 80252 in vbox


Ignore:
Timestamp:
Aug 13, 2019 1:02:10 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132703
Message:

FE/Qt: bugref:9510: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIPerformanceMonitor.cpp

    r80250 r80252  
    770770        QString strReceiveColor;
    771771        if (m_infoLabels[m_strCPUMetricName]->isEnabled())
    772             strInfo = QString("<b>%1</b></b><br/><font color=\"%2\">%3: %4\%</font><br/><font color=\"%5\">%6: %7\%</font>")
     772            strInfo = QString("<b>%1</b></b><br/><font color=\"%2\">%3: %4%5</font><br/><font color=\"%6\">%7: %8%9</font>")
    773773                .arg(m_strCPUInfoLabelTitle)
    774774                .arg(dataColorString(m_strCPUMetricName, 0))
    775                 .arg(m_strCPUInfoLabelGuest).arg(QString::number(iExecutingPercentage))
     775                .arg(m_strCPUInfoLabelGuest).arg(QString::number(iExecutingPercentage)).arg(CPUMetric.unit())
    776776                .arg(dataColorString(m_strCPUMetricName, 1))
    777                 .arg(m_strCPUInfoLabelVMM).arg(QString::number(iOtherPercentage));
     777                .arg(m_strCPUInfoLabelVMM).arg(QString::number(iOtherPercentage)).arg(CPUMetric.unit());
    778778        else
    779779            strInfo = QString("<b>%1</b><br/>%2%3").arg(m_strCPUInfoLabelTitle).arg("--").arg("%");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette