From 3d1a0494050acc1a4040632ce4225f7a45835226 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 19 Jul 2021 16:18:46 +0200 Subject: [PATCH] window title for call window Having an empty window title brings different issues, for example: * invisible on task bar * invisible in task switcher * apply properties by match * ... So let's use the contact user name for window title. Fixes #10243 --- Telegram/SourceFiles/calls/calls_panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/calls_panel.cpp b/Telegram/SourceFiles/calls/calls_panel.cpp index 698a894bd..01a35814c 100644 --- a/Telegram/SourceFiles/calls/calls_panel.cpp +++ b/Telegram/SourceFiles/calls/calls_panel.cpp @@ -118,7 +118,7 @@ void Panel::initWindow() { window()->setAttribute(Qt::WA_NoSystemBackground); window()->setWindowIcon( QIcon(QPixmap::fromImage(Image::Empty()->original(), Qt::ColorOnly))); - window()->setTitle(u" "_q); + window()->setTitle(_user->name); window()->setTitleStyle(st::callTitle); window()->events(