2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show info media overview using Overview::Layout.

This commit is contained in:
John Preston
2017-10-04 18:15:08 +01:00
parent 7905694b31
commit ecbc0ae57e
9 changed files with 546 additions and 14 deletions

View File

@@ -69,13 +69,13 @@ public:
ItemBase(HistoryItem *parent) : _parent(parent) {
}
ItemBase *toMediaItem() override {
ItemBase *toMediaItem() final override {
return this;
}
const ItemBase *toMediaItem() const override {
const ItemBase *toMediaItem() const final override {
return this;
}
HistoryItem *getItem() const override {
HistoryItem *getItem() const final override {
return _parent;
}