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

Destroy boxes in Ui::hideLayer().

This commit is contained in:
John Preston
2018-11-26 15:00:31 +04:00
parent 151a64f817
commit 338129faea
15 changed files with 202 additions and 204 deletions

View File

@@ -116,7 +116,6 @@ public:
void ui_showMediaPreview(
Data::FileOrigin origin,
not_null<PhotoData*> photo);
void ui_hideMediaPreview();
protected:
bool eventFilter(QObject *o, QEvent *e) override;
@@ -152,6 +151,7 @@ signals:
private:
[[nodiscard]] bool skipTrayClick() const;
void hideMediaPreview();
void ensureLayerCreated();
void destroyLayer();