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