summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-03 11:06:29 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-03 11:06:29 +0200
commit317b5f74a7c6d3c65a6f37ee7afe48369230ff5b (patch)
tree498bfdd144d1c4b5d71e88ed38730ca11234238e
parentf62018ca5f03f44342528d035aa7b45ae438cd1a (diff)
downloadkube-317b5f74a7c6d3c65a6f37ee7afe48369230ff5b.tar.gz
kube-317b5f74a7c6d3c65a6f37ee7afe48369230ff5b.zip
Use the icon instead of toolbutton
-rw-r--r--components/package/contents/ui/FolderListView.qml4
-rw-r--r--components/package/contents/ui/Outbox.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml
index c0b9c222..b35b52ed 100644
--- a/components/package/contents/ui/FolderListView.qml
+++ b/components/package/contents/ui/FolderListView.qml
@@ -22,6 +22,7 @@ import QtQuick.Controls.Styles 1.4
22import QtQuick.Layouts 1.1 22import QtQuick.Layouts 1.1
23 23
24import org.kde.kirigami 1.0 as Kirigami 24import org.kde.kirigami 1.0 as Kirigami
25import org.kube.components 1.0 as KubeComponents
25import org.kube.components.theme 1.0 as KubeTheme 26import org.kube.components.theme 1.0 as KubeTheme
26import org.kube.framework.domain 1.0 as KubeFramework 27import org.kube.framework.domain 1.0 as KubeFramework
27 28
@@ -163,11 +164,10 @@ Rectangle {
163 164
164 color: KubeTheme.Colors.viewBackgroundColor 165 color: KubeTheme.Colors.viewBackgroundColor
165 } 166 }
166 ToolButton { 167 KubeComponents.Icon {
167 id: statusIcon 168 id: statusIcon
168 visible: false 169 visible: false
169 iconName: "" 170 iconName: ""
170 enabled: false
171 states: [ 171 states: [
172 State { 172 State {
173 name: "busy"; when: model.status == KubeFramework.FolderListModel.InProgressStatus 173 name: "busy"; when: model.status == KubeFramework.FolderListModel.InProgressStatus
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml
index f293cfb3..e8edb0f4 100644
--- a/components/package/contents/ui/Outbox.qml
+++ b/components/package/contents/ui/Outbox.qml
@@ -40,7 +40,7 @@ Button {
40 verticalAlignment: Text.AlignVCenter 40 verticalAlignment: Text.AlignVCenter
41 elide: Text.ElideRight 41 elide: Text.ElideRight
42 } 42 }
43 Controls.ToolButton { 43 KubeComponents.Icon {
44 id: statusIcon 44 id: statusIcon
45 anchors { 45 anchors {
46 right: parent.right 46 right: parent.right