Android: fix QtEmbeddedDelegate.removeView() call on an int id

The m_views hash holds Views and not int ids.

Pick-to: 6.8
Change-Id: I680da55f6a38940368b4c15fbd0537263bd604ae
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
This commit is contained in:
Assam Boudjelthia 2024-10-24 22:50:07 +03:00
parent 3ee98d6adf
commit 7260214fcd

View File

@ -145,7 +145,7 @@ class QtEmbeddedDelegate extends QtActivityDelegateBase
@Override
public void removeView(QtView view)
{
m_views.remove(view.getId());
m_views.remove(view);
}
// QtEmbeddedViewInterface implementation end