Changeset 97654 in vbox for trunk/src/VBox
- Timestamp:
- Nov 22, 2022 12:38:58 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 154707
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/activity/UIMonitorCommon.cpp
r96407 r97654 107 107 QXmlStreamAttributes attributes = xmlReader.attributes(); 108 108 quint64 iCounter = attributes.value("c").toULongLong(); 109 xmlData.push_back(UIDebuggerMetricData(attributes.value("name") , iCounter));109 xmlData.push_back(UIDebuggerMetricData(attributes.value("name").toString(), iCounter)); 110 110 } 111 111 else if (xmlReader.name() == QLatin1String("U64")) … … 113 113 QXmlStreamAttributes attributes = xmlReader.attributes(); 114 114 quint64 iCounter = attributes.value("val").toULongLong(); 115 xmlData.push_back(UIDebuggerMetricData(attributes.value("name") , iCounter));115 xmlData.push_back(UIDebuggerMetricData(attributes.value("name").toString(), iCounter)); 116 116 } 117 117 xmlReader.skipCurrentElement(); -
trunk/src/VBox/Frontends/VirtualBox/src/activity/UIMonitorCommon.h
r96407 r97654 37 37 UIDebuggerMetricData() 38 38 : m_counter(0){} 39 #ifdef VBOX_IS_QT6_OR_LATER 40 UIDebuggerMetricData(const QStringView &strName, quint64 counter) 41 #else 42 UIDebuggerMetricData(const QStringRef &strName, quint64 counter) 43 #endif 44 : m_strName(strName.toString()) 39 UIDebuggerMetricData(const QString &strName, quint64 counter) 40 : m_strName(strName) 45 41 , m_counter(counter){} 46 42 QString m_strName;
Note:
See TracChangeset
for help on using the changeset viewer.