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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user