diff options
author | Paul Olav Tvete <paul.tvete@digia.com> | 2013-04-23 10:47:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 15:30:48 +0100 |
commit | fc98d027c00aeff0dc8062492683e4952126bb1b (patch) | |
tree | 5af4bcc88ce6a58369af3ab73f0655efcdea2886 /examples/qtconcurrent/imagescaling/imagescaling.h | |
parent | 472e448d6a71f679dd022f7405564c42d8f47916 (diff) |
Android: handle keyPress event for Key_Back
Added logic so that accepting either the press or the release will
keep the app running. This makes it possible to use the onBackPressed
functionality in QML.
This functionality is only intended for running in a complete Android
environment, so make sure that we don't terminate the application in
the NO_SDK case.
Task-number: QTBUG-30803
Change-Id: I2546eea73bf6a6ee8b196125b7556479b9b10a9c
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'examples/qtconcurrent/imagescaling/imagescaling.h')
0 files changed, 0 insertions, 0 deletions