mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix crash in calls panel closing.
This commit is contained in:
@@ -646,8 +646,10 @@ void Panel::paintEvent(QPaintEvent *e) {
|
||||
}
|
||||
|
||||
void Panel::closeEvent(QCloseEvent *e) {
|
||||
if (_call) {
|
||||
_call->hangup();
|
||||
}
|
||||
}
|
||||
|
||||
void Panel::mousePressEvent(QMouseEvent *e) {
|
||||
auto dragArea = myrtlrect(_padding.left(), _padding.top(), st::callWidth, st::callWidth);
|
||||
|
Reference in New Issue
Block a user