diff options
Diffstat (limited to 'applications/kmail-quick/package/contents/ui')
-rw-r--r-- | applications/kmail-quick/package/contents/ui/FolderListView.qml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/applications/kmail-quick/package/contents/ui/FolderListView.qml b/applications/kmail-quick/package/contents/ui/FolderListView.qml index f39df01b..ee23bdf9 100644 --- a/applications/kmail-quick/package/contents/ui/FolderListView.qml +++ b/applications/kmail-quick/package/contents/ui/FolderListView.qml | |||
@@ -19,6 +19,8 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.3 | 19 | import QtQuick.Controls 1.3 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
23 | |||
22 | ListView { | 24 | ListView { |
23 | id: root | 25 | id: root |
24 | 26 | ||
@@ -29,12 +31,24 @@ ListView { | |||
29 | width: root.width | 31 | width: root.width |
30 | height: unit.size * 10 | 32 | height: unit.size * 10 |
31 | 33 | ||
34 | PlasmaCore.IconItem { | ||
35 | id: iconItem | ||
36 | |||
37 | anchors { | ||
38 | verticalCenter: parent.verticalCenter | ||
39 | left: parent.left | ||
40 | leftMargin: unit.size * 3 | ||
41 | } | ||
42 | |||
43 | source: model.icon | ||
44 | } | ||
45 | |||
32 | Label { | 46 | Label { |
33 | id: label | 47 | id: label |
34 | 48 | ||
35 | anchors { | 49 | anchors { |
36 | verticalCenter: parent.verticalCenter | 50 | verticalCenter: parent.verticalCenter |
37 | left: parent.left | 51 | left: iconItem.right |
38 | leftMargin: unit.size * 3 | 52 | leftMargin: unit.size * 3 |
39 | } | 53 | } |
40 | 54 | ||