Commit c0013bbd authored by Anthony Léonard's avatar Anthony Léonard

fix window size changes during some message interactions

After a call, a signal wasn't disconnected properly. This was leading
to resizings for no apparent reason when receiving or sending a
message after this was ended.

This was caused by the in-call chat window, invisible at this time, to
be opened because of that signal. We now disconnect it when closing
call view.

Change-Id: Icd211bad795e146353e099004c1ba13eadccf9ba
Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 5c28764c
......@@ -563,6 +563,7 @@
QObject::disconnect(previewHolder.frameUpdated);
QObject::disconnect(previewHolder.stopped);
QObject::disconnect(previewHolder.started);
QObject::disconnect(self.messageConnection);
[previewView.layer setContents:nil];
[_brokerPopoverVC performClose:self];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment