From 4211501acfcfaa10db1e0deb400413ffd395d6cd Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 21 Aug 2018 15:12:22 +0300 Subject: [PATCH] Improve media viewer window decorations. --- Telegram/SourceFiles/mediaview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/mediaview.cpp b/Telegram/SourceFiles/mediaview.cpp index a3181fbb92..574719ef64 100644 --- a/Telegram/SourceFiles/mediaview.cpp +++ b/Telegram/SourceFiles/mediaview.cpp @@ -78,6 +78,9 @@ MediaView::MediaView() , _dropdownShowTimer(this) { subscribe(Lang::Current().updated(), [this] { refreshLang(); }); + setWindowIcon(Window::CreateIcon()); + setWindowTitle(qsl("Media viewer")); + TextCustomTagsMap custom; custom.insert(QChar('c'), qMakePair(textcmdStartLink(1), textcmdStopLink())); _saveMsgText.setRichText(st::mediaviewSaveMsgStyle, lang(lng_mediaview_saved), Ui::DialogTextOptions(), custom);