From ac5b95cb2b9d307d7e7207e947fd7dc3f53503cf Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 23 May 2017 12:02:43 +0200 Subject: Use Kube.IconButton --- framework/qml/MailViewer.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index b6ea4502..b9a48d51 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -1,5 +1,6 @@ /* * Copyright (C) 2016 Michael Bohlender, + * Copyright (C) 2017 Christian Mollekopf, * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -228,7 +229,7 @@ Rectangle { color: Kube.Colors.backgroundColor - Controls1.ToolButton { + Kube.IconButton { anchors.fill: parent iconName: header.state === "details" ? Kube.Icons.goUp : Kube.Icons.goDown @@ -367,7 +368,7 @@ Rectangle { } } - Controls1.ToolButton { + Kube.IconButton { visible: !model.trash anchors{ verticalCenter: parent.verticalCenter -- cgit v1.2.3