diff options
author | Alan Alpert <aalpert@rim.com> | 2013-02-08 17:20:45 -0800 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-02-11 16:04:08 +0100 |
commit | 46056fb3903e6f49323b61dee2e1a4a209e05414 (patch) | |
tree | 51d631d3b83cdd0ab293f311ce813d645ac8f2bb | |
parent | 3e9809f6aeaea05bb600ae1ff21762a75d98b7f6 (diff) |
Go back a slide on pressAndHold
While a gesture would be a lot better, pressAndHold is an easy to implement
way of providing limited 'go back' functionality on a touch only device.
Change-Id: Ic6b2f4759dc5c7bdcb84d9dc5ef7c40589746c8d
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
-rw-r--r-- | src/Presentation.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Presentation.qml b/src/Presentation.qml index 7cab9c7..7a5f93a 100644 --- a/src/Presentation.qml +++ b/src/Presentation.qml @@ -170,6 +170,7 @@ Item { else goToNextSlide() } + onPressAndHold: goToPreviousSlide(); //A back mechanism for touch only devices } Window { |