From 107eddaa5c3402f32f5ae608864624dc6fdceb2c Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 1 Sep 2020 12:11:09 -0400 Subject: [PATCH] Use HTextArea.RichText, not Qt.RichText --- src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml | 2 +- src/gui/Popups/KeyVerificationPopup.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml index 7375c89e..d7436b13 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml @@ -118,7 +118,7 @@ HFlickableColumnPage { readOnly: true wrapMode: HSelectableLabel.Wrap - textFormat: Qt.RichText + textFormat: HTextArea.RichText text: ( formatInfo(qsTr("Session name: "), page.deviceName) + formatInfo(qsTr("Session ID: "), page.deviceId) + diff --git a/src/gui/Popups/KeyVerificationPopup.qml b/src/gui/Popups/KeyVerificationPopup.qml index 6cab3e6c..dcb65670 100644 --- a/src/gui/Popups/KeyVerificationPopup.qml +++ b/src/gui/Popups/KeyVerificationPopup.qml @@ -89,7 +89,7 @@ HFlickableColumnPopup { readOnly: true wrapMode: HSelectableLabel.Wrap - textFormat: Qt.RichText + textFormat: HTextArea.RichText text: ( formatInfo(qsTr("Session name:"), popup.deviceName) + formatInfo(qsTr("Session ID:"), popup.deviceId) +