2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Improve media viewer window decorations.

This commit is contained in:
John Preston
2018-08-21 15:12:22 +03:00
parent ae6afad885
commit 4211501acf

View File

@@ -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);