From c6f2293ce3002540654a1fbc88dc26efd3c2b8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 27 Oct 2022 16:37:01 -0400 Subject: [PATCH] conversationerrorsrow: only show in debug mode The labels are pretty unclear for most of the users. We can show the bar only if debug mode is enabled (-d) so that only developpers or people who need to debug jami can see it while we choose better error labels. Change-Id: I2a37d00251f75db878eff44c665a2b17f95a9888 --- src/app/mainview/components/ConversationErrorsRow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/mainview/components/ConversationErrorsRow.qml b/src/app/mainview/components/ConversationErrorsRow.qml index 5e070c9b3..9b08fad6a 100644 --- a/src/app/mainview/components/ConversationErrorsRow.qml +++ b/src/app/mainview/components/ConversationErrorsRow.qml @@ -40,7 +40,7 @@ Rectangle { errorLabel.text = CurrentConversation.errors[0] backendErrorToolTip.text = JamiStrings.backendError.arg(CurrentConversation.backendErrors[0]) } - errorRect.visible = CurrentConversation.errors.length > 0 // If too much noise: && LRCInstance.debugMode() + errorRect.visible = CurrentConversation.errors.length > 0 && LRCInstance.debugMode() } } -- GitLab