summaryrefslogtreecommitdiffstats
path: root/pica-client/mainwindow.cpp
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-08-09 14:30:20 +0400
committerAnton <anton@picapica.im>2026-08-09 14:30:20 +0400
commit4bfdcf3288b921c7a648dc1f85754ee4482c24d5 (patch)
treea432e80cba02277b3a376fc4d19e767335ac04d7 /pica-client/mainwindow.cpp
parent3fcb0660953fbf222b6cbe5e08c2b0488b7b68f8 (diff)
downloadpica-pica-4bfdcf3288b921c7a648dc1f85754ee4482c24d5.tar.gz
pica-pica-4bfdcf3288b921c7a648dc1f85754ee4482c24d5.zip
pica-client: fix CallWindow only being usable for the first call
AudioVideoCallController never cleared its callwindow pointer after a call ended, so start_call()/call_from() would see it as non-null forever and silently refuse every subsequent call. CallWindow now sets WA_DeleteOnClose and emits callwindow_closed() from closeEvent(), mirroring the ChatWindow/MsgUIRouter pattern. The controller resets its pointer to 0 in response, and end_call() closes the window once the hangup/reject has been handled.
Diffstat (limited to 'pica-client/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions