diff options
-rw-r--r-- | applications/kmail-quick/package/contents/ui/FolderListView.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/applications/kmail-quick/package/contents/ui/FolderListView.qml b/applications/kmail-quick/package/contents/ui/FolderListView.qml index f6b55695..7eeebbda 100644 --- a/applications/kmail-quick/package/contents/ui/FolderListView.qml +++ b/applications/kmail-quick/package/contents/ui/FolderListView.qml | |||
@@ -20,6 +20,7 @@ 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 | 22 | import org.kde.plasma.core 2.0 as PlasmaCore |
23 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
23 | 24 | ||
24 | import org.kde.akonadi2.mail 1.0 as Mail | 25 | import org.kde.akonadi2.mail 1.0 as Mail |
25 | 26 | ||
@@ -52,16 +53,23 @@ Item { | |||
52 | } | 53 | } |
53 | 54 | ||
54 | ListView { | 55 | ListView { |
56 | id: listView | ||
55 | 57 | ||
56 | clip: true | 58 | clip: true |
57 | 59 | ||
58 | model: folderList.model //FolderModel {} | 60 | model: folderList.model //FolderModel {} |
59 | 61 | ||
60 | delegate: ListItem { | 62 | delegate: PlasmaComponents.ListItem { |
61 | 63 | ||
62 | width: root.width | 64 | width: root.width |
63 | height: unit.size * 10 | 65 | height: unit.size * 10 |
64 | 66 | ||
67 | enabled: true | ||
68 | |||
69 | onClicked: { | ||
70 | mailList.folderId = model.id | ||
71 | } | ||
72 | |||
65 | PlasmaCore.IconItem { | 73 | PlasmaCore.IconItem { |
66 | id: iconItem | 74 | id: iconItem |
67 | 75 | ||