projects
/
chessclock
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d61bd2
)
Pause button in the middle of toolbar
author
Heli Hyvättinen
<heli.hyvattinen@kymp.net>
Sat, 20 Aug 2011 04:57:42 +0000
(07:57 +0300)
committer
Heli Hyvättinen
<heli.hyvattinen@kymp.net>
Sat, 20 Aug 2011 04:57:42 +0000
(07:57 +0300)
qml/ClocksPage.qml
patch
|
blob
|
history
diff --git
a/qml/ClocksPage.qml
b/qml/ClocksPage.qml
index
c8cabae
..
8a5719f
100644
(file)
--- a/
qml/ClocksPage.qml
+++ b/
qml/ClocksPage.qml
@@
-56,8
+56,12
@@
Page
{
flat: true //undocumented ToolButton feature: removes button background (showing just the icon)
iconSource: ":/rc/pic/pausebutton.png"
- onClicked: wrappedClocksWidget.pause()
+ onClicked:
+ {
+ wrappedClocksWidget.pause()
+ }
}
+ Item{} //placeholder needed to put pause button in the middle
}