WinRT: Invoke correct remove handler
Probably a typo when moving to Xaml. Change-Id: I0739f4561912e1e16df7b124d6d187cd0f60f657 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>bb10
parent
2b1f01426c
commit
c4ecab7127
|
|
@ -124,7 +124,7 @@ QWinRTIntegration::QWinRTIntegration() : d_ptr(new QWinRTIntegrationPrivate)
|
|||
IID_PPV_ARGS(&d->application));
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
hr = d->application->add_Suspending(Callback<SuspendHandler>(this, &QWinRTIntegration::onSuspended).Get(),
|
||||
&d->applicationTokens[&ICoreApplication::remove_Resuming]);
|
||||
&d->applicationTokens[&ICoreApplication::remove_Suspending]);
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
hr = d->application->add_Resuming(Callback<ResumeHandler>(this, &QWinRTIntegration::onResume).Get(),
|
||||
&d->applicationTokens[&ICoreApplication::remove_Resuming]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue