2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Several crashes fixed.

This commit is contained in:
John Preston
2016-04-14 22:24:42 +03:00
parent d6070c37d1
commit bb70a76b9c
22 changed files with 195 additions and 166 deletions

View File

@@ -255,7 +255,7 @@ public:
int unreadCount() const {
return _unreadCount;
}
void setUnreadCount(int newUnreadCount, bool psUpdate = true);
void setUnreadCount(int newUnreadCount);
bool mute() const {
return _mute;
}
@@ -642,7 +642,7 @@ private:
HistoryItem *findPrevItem(HistoryItem *item) const;
void switchMode();
void cleared();
void cleared(bool leaveItems);
bool _onlyImportant;
@@ -2637,7 +2637,7 @@ public:
HistoryItem::clickHandlerActiveChanged(p, active);
}
void clickHandlerPressedChanged(const ClickHandlerPtr &p, bool pressed) override {
if (_media) _media->clickHandlerActiveChanged(p, pressed);
if (_media) _media->clickHandlerPressedChanged(p, pressed);
HistoryItem::clickHandlerPressedChanged(p, pressed);
}