2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +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) { void Panel::closeEvent(QCloseEvent *e) {
if (_call) {
_call->hangup(); _call->hangup();
}
} }
void Panel::mousePressEvent(QMouseEvent *e) { void Panel::mousePressEvent(QMouseEvent *e) {