Merge pull request #295 from monich/searchModeActive
Initialize ChatModel::searchModeActive
This commit is contained in:
commit
2798a0f56a
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