1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Issue #1119 fixed OS X fullscreen bug

This commit is contained in:
Shane McKee 2015-03-06 03:01:12 -08:00 committed by Dubslow
parent bd12381bea
commit 03329d8171
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -387,7 +387,6 @@ void ChatForm::onAvEnd(int FriendId, int)
enableCallButtons(); enableCallButtons();
stopCounter(); stopCounter();
netcam->hide(); netcam->hide();
} }
@ -562,6 +561,12 @@ void ChatForm::onAnswerCallTriggered()
void ChatForm::onHangupCallTriggered() void ChatForm::onHangupCallTriggered()
{ {
qDebug() << "onHangupCallTriggered"; qDebug() << "onHangupCallTriggered";
//Fixes an OS X bug with ending a call while in full screen
if(netcam->isFullScreen())
{
netcam->showNormal();
}
audioInputFlag = false; audioInputFlag = false;
audioOutputFlag = false; audioOutputFlag = false;