Set (group) call window icon.

This commit is contained in:
Christian Hesse 2021-07-19 22:15:04 +02:00 committed by GitHub
parent 0a4b8fc7f6
commit b2c762e974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -116,8 +116,6 @@ void Panel::replaceCall(not_null<Call*> call) {
void Panel::initWindow() {
window()->setAttribute(Qt::WA_OpaquePaintEvent);
window()->setAttribute(Qt::WA_NoSystemBackground);
window()->setWindowIcon(
QIcon(QPixmap::fromImage(Image::Empty()->original(), Qt::ColorOnly)));
window()->setTitle(_user->name);
window()->setTitleStyle(st::callTitle);

View File

@ -289,8 +289,6 @@ void Panel::chooseSourceStop() {
void Panel::initWindow() {
window()->setAttribute(Qt::WA_OpaquePaintEvent);
window()->setAttribute(Qt::WA_NoSystemBackground);
window()->setWindowIcon(
QIcon(QPixmap::fromImage(Image::Empty()->original(), Qt::ColorOnly)));
window()->setTitleStyle(st::groupCallTitle);
subscribeToPeerChanges();