Fix checkable Button behavior - toggle on release instead of press
authorJ-P Nurmi <jpnurmi@digia.com>
Tue, 22 Oct 2013 14:14:10 +0000 (16:14 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 22 Oct 2013 16:00:58 +0000 (18:00 +0200)
commit6ec67932271d3a20e76587bc040dc7b76e16bb57
tree128317989390815be8ff85636c9e0dd4328a3ae7
parent3a0b205b2ceafc8a98951706850a9b13265d6233
Fix checkable Button behavior - toggle on release instead of press

This way it's consistent with QPushButton, and this is also the
appropriate behavior on touch screens.

Task-number: QTBUG-33796
Change-Id: I6ab11ed199223cd77e08273f1299a8a668a6f786
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/controls/Private/BasicButton.qml
tests/auto/controls/data/tst_button.qml