mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Set (group) call window icon.
This commit is contained in:
parent
0a4b8fc7f6
commit
b2c762e974
2 changed files with 0 additions and 4 deletions
|
@ -116,8 +116,6 @@ void Panel::replaceCall(not_null<Call*> call) {
|
||||||
void Panel::initWindow() {
|
void Panel::initWindow() {
|
||||||
window()->setAttribute(Qt::WA_OpaquePaintEvent);
|
window()->setAttribute(Qt::WA_OpaquePaintEvent);
|
||||||
window()->setAttribute(Qt::WA_NoSystemBackground);
|
window()->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
window()->setWindowIcon(
|
|
||||||
QIcon(QPixmap::fromImage(Image::Empty()->original(), Qt::ColorOnly)));
|
|
||||||
window()->setTitle(_user->name);
|
window()->setTitle(_user->name);
|
||||||
window()->setTitleStyle(st::callTitle);
|
window()->setTitleStyle(st::callTitle);
|
||||||
|
|
||||||
|
|
|
@ -289,8 +289,6 @@ void Panel::chooseSourceStop() {
|
||||||
void Panel::initWindow() {
|
void Panel::initWindow() {
|
||||||
window()->setAttribute(Qt::WA_OpaquePaintEvent);
|
window()->setAttribute(Qt::WA_OpaquePaintEvent);
|
||||||
window()->setAttribute(Qt::WA_NoSystemBackground);
|
window()->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
window()->setWindowIcon(
|
|
||||||
QIcon(QPixmap::fromImage(Image::Empty()->original(), Qt::ColorOnly)));
|
|
||||||
window()->setTitleStyle(st::groupCallTitle);
|
window()->setTitleStyle(st::groupCallTitle);
|
||||||
|
|
||||||
subscribeToPeerChanges();
|
subscribeToPeerChanges();
|
||||||
|
|
Loading…
Add table
Reference in a new issue