Fix Uninitialised value in FriendListModel

This commit is contained in:
Phenom 2021-02-19 11:11:39 +01:00
parent 21e775d116
commit fb61186daa

View File

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