mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed costly size() call in QList
This commit is contained in:
parent
14352220ab
commit
57f22e9764
@ -193,8 +193,10 @@ void GxsForumsFillThread::run()
|
||||
}
|
||||
|
||||
/* process messages */
|
||||
while (msgs.size()) {
|
||||
while (threadList.size() > 0) {
|
||||
while (msgs.size())
|
||||
{
|
||||
while (!threadList.empty())
|
||||
{
|
||||
if (wasStopped()) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user