Remove use of ToQStr to convert rdctype::str to QString

This commit is contained in:
baldurk
2017-08-18 14:13:22 +01:00
parent b637fe78de
commit 4c24b0f28f
26 changed files with 381 additions and 403 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ void APIInspector::addCallstack(rdctype::array<rdctype::str> calls)
else
{
for(rdctype::str &s : calls)
ui->callstack->addItem(ToQStr(s));
ui->callstack->addItem(s);
}
ui->callstack->setUpdatesEnabled(true);
}
@@ -130,7 +130,7 @@ void APIInspector::fillAPIView()
{
for(const APIEvent &ev : draw->events)
{
QStringList lines = ToQStr(ev.eventDesc).split(lit("\n"), QString::SkipEmptyParts);
QStringList lines = QString(ev.eventDesc).split(lit("\n"), QString::SkipEmptyParts);
RDTreeWidgetItem *root = new RDTreeWidgetItem({QString::number(ev.eventID), lines[0]});