]> git.cworth.org Git - apitrace/blobdiff - gui/apitracecall.cpp
Index shouldn't be bold, plus don't newline after index in tooltips
[apitrace] / gui / apitracecall.cpp
index 26d310255501513aab9a34807c4b431c67bc6791..4817eb389e00760115a4bfa187c031228ee500c8 100644 (file)
@@ -279,7 +279,9 @@ QString ApiTraceCall::toHtml() const
     if (!m_richText.isEmpty())
         return m_richText;
 
-    m_richText = QString::fromLatin1("<span style=\"font-weight:bold\">%1</span>(").arg(name);
+    m_richText = QString::fromLatin1("%1) <span style=\"font-weight:bold\">%2</span>(")
+                 .arg(index)
+                 .arg(name);
     for (int i = 0; i < argNames.count(); ++i) {
         m_richText += argNames[i];
         m_richText += QString::fromLatin1(" = ");