summary refs log tree commit diff
path: root/resources/qml/voip/DeviceError.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 20:45:57 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 20:45:57 +0200
commitefda425b6a569e135e6ff51a4124d52c844b28d8 (patch)
treeebbc32b0293d7f5057ba4ea9ca4dcdcd62a97211 /resources/qml/voip/DeviceError.qml
parentFix UserSettingsModel and Communities singleton instantiation (diff)
downloadnheko-efda425b6a569e135e6ff51a4124d52c844b28d8.tar.xz
Some qmllint fixes
Diffstat (limited to '')
-rw-r--r--resources/qml/voip/DeviceError.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/voip/DeviceError.qml b/resources/qml/voip/DeviceError.qml
index afb70b7f..4b9b4675 100644
--- a/resources/qml/voip/DeviceError.qml
+++ b/resources/qml/voip/DeviceError.qml
@@ -5,9 +5,9 @@
 import QtQuick 2.9
 import QtQuick.Controls 2.3
 import QtQuick.Layouts 1.2
-import im.nheko 1.0
 
 Popup {
+    id: r
     property string errorString
     property var image
 
@@ -24,11 +24,11 @@ Popup {
         Image {
             Layout.preferredWidth: 16
             Layout.preferredHeight: 16
-            source: "image://colorimage/" + image + "?" + palette.windowText
+            source: "image://colorimage/" + r.image + "?" + palette.windowText
         }
 
         Label {
-            text: errorString
+            text: r.errorString
             color: palette.windowText
         }