diff options
Diffstat (limited to 'components/package/contents/ui/AttachmentDelegate.qml')
-rw-r--r-- | components/package/contents/ui/AttachmentDelegate.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/package/contents/ui/AttachmentDelegate.qml b/components/package/contents/ui/AttachmentDelegate.qml index 91e07d49..ffacb46c 100644 --- a/components/package/contents/ui/AttachmentDelegate.qml +++ b/components/package/contents/ui/AttachmentDelegate.qml | |||
@@ -21,6 +21,7 @@ import QtQuick.Layouts 1.1 | |||
21 | import org.kde.kirigami 1.0 as Kirigami | 21 | import org.kde.kirigami 1.0 as Kirigami |
22 | 22 | ||
23 | Item { | 23 | Item { |
24 | id: root | ||
24 | 25 | ||
25 | property string name | 26 | property string name |
26 | property string icon | 27 | property string icon |
@@ -54,12 +55,12 @@ Item { | |||
54 | height: parent.height | 55 | height: parent.height |
55 | width: height | 56 | width: height |
56 | 57 | ||
57 | source: "text-csv" | 58 | source: root.icon |
58 | } | 59 | } |
59 | } | 60 | } |
60 | 61 | ||
61 | Text { | 62 | Text { |
62 | text: "some attachment.csv" | 63 | text: root.name |
63 | color: Kirigami.Theme.textColor | 64 | color: Kirigami.Theme.textColor |
64 | } | 65 | } |
65 | } | 66 | } |