Skip to content

Commit b65f653

Browse files
nephrosnephros
authored andcommitted
Hotcache: Use plain qstring for stats
1 parent b33ecff commit b65f653

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/bin/patchmanager-daemon/patchmanagerobject.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3088,12 +3088,12 @@ QString PatchManagerFilter::stats() const
30883088
}
30893089

30903090
//QList<QPair<QString, QVariant>> list;
3091-
QTextStream list;
3092-
list << "Filter Stats:"
3093-
<< "\n==========================="
3094-
<< "\n Hotcache entries:: .............." << size()
3095-
<< "\n Hotcache cost: .................." << totalCost() << "/" << maxCost()
3096-
<< "\n Hotcache top entries: ..........." << "\n " << topTen.join("\n ")
3097-
<< "\n===========================";
3098-
return list.readAll();
3091+
QString list;
3092+
list + "Filter Stats:"
3093+
+ "\n==========================="
3094+
+ "\n Hotcache entries:: .............." + size()
3095+
+ "\n Hotcache cost: .................." + totalCost() + "/" + maxCost()
3096+
+ "\n Hotcache top entries: ..........." + "\n " + topTen.join("\n ")
3097+
+ "\n===========================";
3098+
return list;
30993099
}

0 commit comments

Comments
 (0)