removed costly size() call in QList

This commit is contained in:
csoler 2017-01-14 10:51:14 +01:00
parent 14352220ab
commit 57f22e9764

View File

@ -193,8 +193,10 @@ void GxsForumsFillThread::run()
} }
/* process messages */ /* process messages */
while (msgs.size()) { while (msgs.size())
while (threadList.size() > 0) { {
while (!threadList.empty())
{
if (wasStopped()) { if (wasStopped()) {
break; break;
} }