Anonymous
public cpp v1 · immutable QList<ForumThread*> threads = currentGroup->threads().values(); qSort(threads); disableSortAndResize = true; qDebug() << Q_FUNC_INFO << "group" << currentGroup->toString() << "has" << threads.size() << "threads"; foreach(ForumThread *thread, threads) { qDebug() << Q_FUNC_INFO << "adding" << thread; addThread(thread); qDebug() << Q_FUNC_INFO << "added" << thread;