suppressed 2 uninitialized memory read in ForumModel

This commit is contained in:
csoler 2018-12-04 22:14:54 +01:00
parent fb962c4b5b
commit b63544e856
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -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();
}