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

Fix build for macOS.

This commit is contained in:
John Preston
2017-10-10 09:01:19 +01:00
parent f107866b42
commit a08dd1f6e1
5 changed files with 15 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ public:
void clickHandlerPressedChanged(const ClickHandlerPtr &action, bool pressed) override;
protected:
not_null<HistoryItem*> _parent = nullptr;
not_null<HistoryItem*> _parent;
int _position = 0;
};
@@ -196,6 +196,8 @@ public:
void invalidateCache() override;
~Photo();
private:
void ensureCheckboxCreated();
@@ -225,6 +227,8 @@ public:
void invalidateCache() override;
~Video();
protected:
float64 dataProgress() const override;
bool dataFinished() const override;