mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed crash and endles loop with refill in forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2892 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b242b73f31
commit
946d09cb72
@ -871,7 +871,7 @@ void ForumsDialog::insertThreads()
|
||||
|
||||
void ForumsDialog::FillThreads(QList<QTreeWidgetItem *> &ThreadList)
|
||||
{
|
||||
int Index;
|
||||
int Index = 0;
|
||||
QTreeWidgetItem *Thread;
|
||||
|
||||
// iterate all new threads
|
||||
@ -926,7 +926,7 @@ void ForumsDialog::FillThreads(QList<QTreeWidgetItem *> &ThreadList)
|
||||
|
||||
void ForumsDialog::FillChildren(QTreeWidgetItem *Parent, QTreeWidgetItem *NewParent)
|
||||
{
|
||||
int Index;
|
||||
int Index = 0;
|
||||
int NewIndex;
|
||||
int NewCount = NewParent->childCount();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user