mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix crash in calls panel closing.
This commit is contained in:
parent
0b77c0bce8
commit
8a60658af7
1 changed files with 3 additions and 1 deletions
|
@ -646,7 +646,9 @@ void Panel::paintEvent(QPaintEvent *e) {
|
|||
}
|
||||
|
||||
void Panel::closeEvent(QCloseEvent *e) {
|
||||
_call->hangup();
|
||||
if (_call) {
|
||||
_call->hangup();
|
||||
}
|
||||
}
|
||||
|
||||
void Panel::mousePressEvent(QMouseEvent *e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue