2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fix crash in calls panel closing.

This commit is contained in:
John Preston
2017-05-15 11:17:59 +03:00
parent 0b77c0bce8
commit 8a60658af7

View File

@@ -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) {