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

The m_views hash holds Views and not int ids.

Change-Id: I680da55f6a38940368b4c15fbd0537263bd604ae
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
(cherry picked from commit 7260214fcd656a525300d74f238c49e0a17134b4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Assam Boudjelthia 2024-10-24 22:50:07 +03:00 committed by Qt Cherry-pick Bot
parent e46ba4d413
commit ed793b94db

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