Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Gallien <matthieu_gallien@yahoo.fr>2022-09-26 16:10:50 +0300
committerGitHub <noreply@github.com>2022-09-26 16:10:50 +0300
commit53ab46dd50680a5bd29897eaa849476d9c245589 (patch)
treed14de28a982d4122ad26e597938808d350a371e2
parentd49baad3c8542bc40a37455015178b31c2515fe6 (diff)
parentd7a70e71b48768faa1e8d119358e3762f5408ecd (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.qml3
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