diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-03-03 11:24:36 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2015-03-17 15:07:07 +0000 |
commit | 341223e26d611b41c4b533c1b3b0a5d428c83331 (patch) | |
tree | 6ef53e8395acbe11a7a56d7d162b205275eb7431 /src/bluetooth/qbluetoothsocket_android.cpp | |
parent | 27311cd3882eb0bb570d5b01663b8fb907fabfd5 (diff) |
Android: Replace call to deprecated getStaticObjectField() function.
The template version of QAndroidJniObject::getStaticObjectField() is
deprecated. Use the non-template version instead.
Change-Id: If60abfc33e55dbdfdfedb7c603f191285cd13eeb
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_android.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket_android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocket_android.cpp b/src/bluetooth/qbluetoothsocket_android.cpp index 31009ba2..ab257cf4 100644 --- a/src/bluetooth/qbluetoothsocket_android.cpp +++ b/src/bluetooth/qbluetoothsocket_android.cpp @@ -98,7 +98,7 @@ bool QBluetoothSocketPrivate::fallBackConnect(QAndroidJniObject uuid, int channe return false; } - QAndroidJniObject integerObject = QAndroidJniObject::getStaticObjectField<jobject>( + QAndroidJniObject integerObject = QAndroidJniObject::getStaticObjectField( "java/lang/Integer", "TYPE", "Ljava/lang/Class;"); if (!integerObject.isValid()) { qCWarning(QT_BT_ANDROID) << "Could not get Integer.TYPE"; |