Initialize ChatModel::searchModeActive
This commit is contained in:
parent
e3370bf73e
commit
7f9166d1ae
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ bool ChatModel::MessageData::lessThan(const MessageData *message1, const Message
|
||||||
ChatModel::ChatModel(TDLibWrapper *tdLibWrapper) :
|
ChatModel::ChatModel(TDLibWrapper *tdLibWrapper) :
|
||||||
chatId(0),
|
chatId(0),
|
||||||
inReload(false),
|
inReload(false),
|
||||||
inIncrementalUpdate(false)
|
inIncrementalUpdate(false),
|
||||||
|
searchModeActive(false)
|
||||||
{
|
{
|
||||||
this->tdLibWrapper = tdLibWrapper;
|
this->tdLibWrapper = tdLibWrapper;
|
||||||
connect(this->tdLibWrapper, SIGNAL(messagesReceived(QVariantList, int)), this, SLOT(handleMessagesReceived(QVariantList, int)));
|
connect(this->tdLibWrapper, SIGNAL(messagesReceived(QVariantList, int)), this, SLOT(handleMessagesReceived(QVariantList, int)));
|
||||||
|
|
Loading…
Reference in a new issue