Android: fix jni function name from standardIcon to setStandardIcon

The issue came from 53b413f1c589d976bbc1eb0ad2cc526633e247db.

Change-Id: Idb77a66dbd8649bdece213298b1e1676b22cc8ba
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Assam Boudjelthia 2022-12-20 16:30:56 +02:00
parent 31a0d99fa5
commit 4b892b1034

View File

@ -57,7 +57,7 @@ bool QAndroidPlatformMessageDialogHelper::show(Qt::WindowFlags windowFlags,
if (opt->supressionCheckBoxEnabled())
return false; // Can't support
m_javaMessageDialog.callMethod<void>("standardIcon", "(I)V", opt->standardIcon());
m_javaMessageDialog.callMethod<void>("setStandardIcon", "(I)V", opt->standardIcon());
QString str = htmlText(opt->windowTitle());
if (!str.isEmpty()) {