Skip to content
Snippets Groups Projects
Commit 46056fb3 authored by Alan Alpert's avatar Alan Alpert Committed by Gunnar Sletta
Browse files

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: default avatarGunnar Sletta <gunnar.sletta@digia.com>
parent 3e9809f6
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,7 @@ Item {
else
goToNextSlide()
}
onPressAndHold: goToPreviousSlide(); //A back mechanism for touch only devices
}
Window {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment