diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-26 01:51:45 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-26 02:31:31 +0200 |
commit | 904d3f257ac7775ee3cde91b919b364824329061 (patch) | |
tree | 561c910ba9ee41370f2fcfdddff180a55837b626 /resources/qml/dialogs | |
parent | Fix macos not supporting emplace of aggregates yet (diff) | |
download | nheko-904d3f257ac7775ee3cde91b919b364824329061.tar.xz |
Fix some qml warnings
Diffstat (limited to 'resources/qml/dialogs')
-rw-r--r-- | resources/qml/dialogs/IgnoredUsers.qml | 13 | ||||
-rw-r--r-- | resources/qml/dialogs/RoomSettingsDialog.qml (renamed from resources/qml/dialogs/RoomSettings.qml) | 4 |
2 files changed, 9 insertions, 8 deletions
diff --git a/resources/qml/dialogs/IgnoredUsers.qml b/resources/qml/dialogs/IgnoredUsers.qml index 2d8cc920..6d6585f0 100644 --- a/resources/qml/dialogs/IgnoredUsers.qml +++ b/resources/qml/dialogs/IgnoredUsers.qml @@ -2,12 +2,13 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -import QtQml 2.15 -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Layouts 2.15 -import QtQuick.Window 2.15 -import im.nheko 1.0 +import QtQml +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts +import QtQuick.Window +import im.nheko +import "../" Window { id: ignoredUsers diff --git a/resources/qml/dialogs/RoomSettings.qml b/resources/qml/dialogs/RoomSettingsDialog.qml index 1ff6876e..73dcac8c 100644 --- a/resources/qml/dialogs/RoomSettings.qml +++ b/resources/qml/dialogs/RoomSettingsDialog.qml @@ -551,8 +551,8 @@ ApplicationWindow { id: confirmEncryptionDialog title: qsTr("End-to-End Encryption") - text: qsTr("Encryption is currently experimental and things might break unexpectedly. <br> - Please take note that it can't be disabled afterwards.") + text: qsTr(`Encryption is currently experimental and things might break unexpectedly. <br> + Please take note that it can't be disabled afterwards.`) modality: Qt.NonModal onAccepted: { if (roomSettings.isEncryptionEnabled) |