Merge pull request #2338 from PhenomRetroShare/Fix_UninitOnFriendListModel

Fix Uninitialised value in FriendListModel
This commit is contained in:
defnax 2021-02-19 18:35:31 +01:00 committed by GitHub
commit 62685550bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,10 @@ static const uint32_t NODE_DETAILS_UPDATE_DELAY = 5; // update each node every 5
RsFriendListModel::RsFriendListModel(QObject *parent)
: QAbstractItemModel(parent)
, mDisplayGroups(true), mDisplayStatusString(true)
, mLastInternalDataUpdate(0), mLastNodeUpdate(0)
{
mDisplayGroups = true;
mFilterStrings.clear();
mLastNodeUpdate=0;
mLastInternalDataUpdate=0;
mFilterStrings.clear();
}
RsFriendListModel::EntryIndex::EntryIndex()