mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
suppressed 2 uninitialized memory read in ForumModel
This commit is contained in:
parent
fb962c4b5b
commit
b63544e856
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,7 @@ RsGxsForumModel::RsGxsForumModel(QObject *parent)
|
||||||
|
|
||||||
mUseChildTS=false;
|
mUseChildTS=false;
|
||||||
mFilteringEnabled=false;
|
mFilteringEnabled=false;
|
||||||
|
mTreeMode = TREE_MODE_TREE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RsGxsForumModel::preMods()
|
void RsGxsForumModel::preMods()
|
||||||
|
@ -489,7 +490,10 @@ void RsGxsForumModel::setFilter(int column,const QStringList& strings,uint32_t&
|
||||||
mFilteringEnabled = true;
|
mFilteringEnabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
count=0;
|
||||||
mFilteringEnabled = false;
|
mFilteringEnabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
postMods();
|
postMods();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue