mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
removed costly size() call in QList
This commit is contained in:
parent
14352220ab
commit
57f22e9764
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue