summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/androidjnimenu.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2014-10-31 14:11:01 +0100
committerChristian Stromme <christian.stromme@digia.com>2014-11-03 18:25:16 +0100
commit078380df1e14ac82b3cf3ad66ae50d5351709537 (patch)
tree7b5872aec770eaba86d64f2cb16fda38fa1df39d /src/plugins/platforms/android/androidjnimenu.h
parent4835808287f88441975fa469420d4b64176cad82 (diff)
Android: Simplify the jni code in QtAndroidMenu
This is one of several fixes where the goal is to simplify the jni code by letting QJNI manage the environment. Change-Id: Ia714e25fbb3fcd170150392e822b0a3fc3812818 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/android/androidjnimenu.h')
-rw-r--r--src/plugins/platforms/android/androidjnimenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/android/androidjnimenu.h b/src/plugins/platforms/android/androidjnimenu.h
index c54eb37f37..f85db9ff86 100644
--- a/src/plugins/platforms/android/androidjnimenu.h
+++ b/src/plugins/platforms/android/androidjnimenu.h
@@ -50,7 +50,7 @@ namespace QtAndroidMenu
{
// Menu support
void openOptionsMenu();
- void showContextMenu(QAndroidPlatformMenu *menu, const QRect &anchorRect, JNIEnv *env = 0);
+ void showContextMenu(QAndroidPlatformMenu *menu, const QRect &anchorRect, JNIEnv *env);
void hideContextMenu(QAndroidPlatformMenu *menu);
void syncMenu(QAndroidPlatformMenu *menu);
void androidPlatformMenuDestroyed(QAndroidPlatformMenu *menu);