mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-22 03:08:48 +00:00
Improve media viewer window decorations.
This commit is contained in:
parent
ae6afad885
commit
4211501acf
@ -78,6 +78,9 @@ MediaView::MediaView()
|
|||||||
, _dropdownShowTimer(this) {
|
, _dropdownShowTimer(this) {
|
||||||
subscribe(Lang::Current().updated(), [this] { refreshLang(); });
|
subscribe(Lang::Current().updated(), [this] { refreshLang(); });
|
||||||
|
|
||||||
|
setWindowIcon(Window::CreateIcon());
|
||||||
|
setWindowTitle(qsl("Media viewer"));
|
||||||
|
|
||||||
TextCustomTagsMap custom;
|
TextCustomTagsMap custom;
|
||||||
custom.insert(QChar('c'), qMakePair(textcmdStartLink(1), textcmdStopLink()));
|
custom.insert(QChar('c'), qMakePair(textcmdStartLink(1), textcmdStopLink()));
|
||||||
_saveMsgText.setRichText(st::mediaviewSaveMsgStyle, lang(lng_mediaview_saved), Ui::DialogTextOptions(), custom);
|
_saveMsgText.setRichText(st::mediaviewSaveMsgStyle, lang(lng_mediaview_saved), Ui::DialogTextOptions(), custom);
|
||||||
|
Loading…
Reference in New Issue
Block a user