From 9bb04a8dd495c9cc6462a6ed4f225624beb7f3bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Heli=20Hyv=C3=A4ttinen?= Date: Sat, 20 Aug 2011 08:53:41 +0300 Subject: [PATCH] Uses system pause icon --- qml/ClocksPage.qml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/qml/ClocksPage.qml b/qml/ClocksPage.qml index 8a5719f..0c05d5b 100644 --- a/qml/ClocksPage.qml +++ b/qml/ClocksPage.qml @@ -52,15 +52,16 @@ Page tools: ToolBarLayout { ToolIcon { iconId: "toolbar-back"; onClicked: pageStack.pop() } - ToolButton + + ToolIcon { - flat: true //undocumented ToolButton feature: removes button background (showing just the icon) - iconSource: ":/rc/pic/pausebutton.png" + iconId: "toolbar-mediacontrol-pause" onClicked: - { - wrappedClocksWidget.pause() - } + { + wrappedClocksWidget.pause() + } } + Item{} //placeholder needed to put pause button in the middle } -- 1.7.9.5