Improve media viewer window decorations.
This commit is contained in:
parent
ae6afad885
commit
4211501acf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue