1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

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
This commit is contained in:
Sébastien Blin 2022-10-27 16:37:01 -04:00
parent 7a34209583
commit c6f2293ce3

View file

@ -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()
}
}