mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -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;
|
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…
x
Reference in New Issue
Block a user