diff options
author | Matthieu Gallien <matthieu_gallien@yahoo.fr> | 2022-09-26 16:10:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 16:10:50 +0300 |
commit | 53ab46dd50680a5bd29897eaa849476d9c245589 (patch) | |
tree | d14de28a982d4122ad26e597938808d350a371e2 | |
parent | d49baad3c8542bc40a37455015178b31c2515fe6 (diff) | |
parent | d7a70e71b48768faa1e8d119358e3762f5408ecd (diff) |
Merge pull request #4973 from nextcloud/backport/4972/stable-3.6
[stable-3.6] Ensure strings in main window QML are presented as plain text and not HTML
-rw-r--r-- | src/gui/tray/Window.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 1061a3c84..207b1fad1 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
|