mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -05:00
suppressed 2 uninitialized memory read in ForumModel
This commit is contained in:
parent
fb962c4b5b
commit
b63544e856
@ -47,6 +47,7 @@ RsGxsForumModel::RsGxsForumModel(QObject *parent)
|
||||
|
||||
mUseChildTS=false;
|
||||
mFilteringEnabled=false;
|
||||
mTreeMode = TREE_MODE_TREE;
|
||||
}
|
||||
|
||||
void RsGxsForumModel::preMods()
|
||||
@ -489,7 +490,10 @@ void RsGxsForumModel::setFilter(int column,const QStringList& strings,uint32_t&
|
||||
mFilteringEnabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
count=0;
|
||||
mFilteringEnabled = false;
|
||||
}
|
||||
|
||||
postMods();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user