summaryrefslogtreecommitdiffstats
path: root/framework/qml/MailViewer.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-23 12:02:43 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-23 13:09:00 +0200
commitac5b95cb2b9d307d7e7207e947fd7dc3f53503cf (patch)
tree0ca9545a3b2130cc849a8b6e3ba4755aeff05502 /framework/qml/MailViewer.qml
parent966d85717c115cc03f2d1b0f41a24fd363726027 (diff)
downloadkube-ac5b95cb2b9d307d7e7207e947fd7dc3f53503cf.tar.gz
kube-ac5b95cb2b9d307d7e7207e947fd7dc3f53503cf.zip
Use Kube.IconButton
Diffstat (limited to 'framework/qml/MailViewer.qml')
-rw-r--r--framework/qml/MailViewer.qml5
1 files changed, 3 insertions, 2 deletions
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 @@
1/* 1/*
2 * Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net> 2 * Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net>
3 * Copyright (C) 2017 Christian Mollekopf, <mollekopf@kolabsys.com>
3 * 4 *
4 * This program is free software; you can redistribute it and/or modify 5 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
@@ -228,7 +229,7 @@ Rectangle {
228 229
229 color: Kube.Colors.backgroundColor 230 color: Kube.Colors.backgroundColor
230 231
231 Controls1.ToolButton { 232 Kube.IconButton {
232 anchors.fill: parent 233 anchors.fill: parent
233 234
234 iconName: header.state === "details" ? Kube.Icons.goUp : Kube.Icons.goDown 235 iconName: header.state === "details" ? Kube.Icons.goUp : Kube.Icons.goDown
@@ -367,7 +368,7 @@ Rectangle {
367 } 368 }
368 } 369 }
369 370
370 Controls1.ToolButton { 371 Kube.IconButton {
371 visible: !model.trash 372 visible: !model.trash
372 anchors{ 373 anchors{
373 verticalCenter: parent.verticalCenter 374 verticalCenter: parent.verticalCenter