From: Claudio Cambra Date: Fri, 23 Sep 2022 13:18:13 +0000 (+0200) Subject: Ensure strings in main window QML are presented as plain text and not HTML X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~251^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=80fcb6d95f0c3f93bbb7b6f16d055c7c93f933b6;p=nextcloud-desktop.git Ensure strings in main window QML are presented as plain text and not HTML Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index f7f88fb87..66a5adf6e 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -461,6 +461,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignLeft | Qt.AlignBottom width: Style.currentAccountLabelWidth text: UserModel.currentUser.name + textFormat: Text.PlainText elide: Text.ElideRight color: UserModel.currentUser.headerTextColor @@ -480,6 +481,7 @@ ApplicationWindow { visible: UserModel.currentUser.statusEmoji !== "" width: Style.userStatusEmojiSize text: UserModel.currentUser.statusEmoji + textFormat: Text.PlainText } Label { id: message @@ -490,6 +492,7 @@ ApplicationWindow { text: UserModel.currentUser.statusMessage !== "" ? UserModel.currentUser.statusMessage : UserModel.currentUser.server + textFormat: Text.PlainText elide: Text.ElideRight color: UserModel.currentUser.headerTextColor font.pixelSize: Style.subLinePixelSize