mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Improve media viewer window decorations.
This commit is contained in:
parent
ae6afad885
commit
4211501acf
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue