From 842774ecfc1441cda515148b8718bbb6ee6a8c58 Mon Sep 17 00:00:00 2001 From: agilob Date: Mon, 23 Feb 2015 23:08:07 +0000 Subject: [PATCH] fix tux3/qtox #891 --- src/widget/form/chatform.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/widget/form/chatform.cpp b/src/widget/form/chatform.cpp index 9102b7c7d..bd467c853 100644 --- a/src/widget/form/chatform.cpp +++ b/src/widget/form/chatform.cpp @@ -366,9 +366,8 @@ void ChatForm::onAvCancel(int FriendId, int) delete callConfirm; callConfirm = nullptr; - stopCounter(); - enableCallButtons(); + stopCounter(); netcam->hide(); @@ -386,10 +385,9 @@ void ChatForm::onAvEnd(int FriendId, int) callConfirm = nullptr; enableCallButtons(); + stopCounter(); netcam->hide(); - - stopCounter(); } void ChatForm::onAvRinging(int FriendId, int CallId, bool video) @@ -474,10 +472,9 @@ void ChatForm::onAvEnding(int FriendId, int) callConfirm = nullptr; enableCallButtons(); + stopCounter(); netcam->hide(); - - stopCounter(); } void ChatForm::onAvRequestTimeout(int FriendId, int) @@ -491,6 +488,7 @@ void ChatForm::onAvRequestTimeout(int FriendId, int) callConfirm = nullptr; enableCallButtons(); + stopCounter(); netcam->hide(); } @@ -506,7 +504,8 @@ void ChatForm::onAvPeerTimeout(int FriendId, int) callConfirm = nullptr; enableCallButtons(); - + stopCounter(); + netcam->hide(); }