summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-01-10 10:16:26 +0100
committerOliver Wolff <oliver.wolff@qt.io>2018-01-10 13:38:07 +0000
commit75dfd208e0f5797cdb562a8e733790292b52a56e (patch)
tree3d041ac191538b3dd637fa6f9eb59a0ae947ca19 /src
parentbb8e59fb05f8c772135229a26c76b785db9adf61 (diff)
winrt: Add missing hr assignment
Change-Id: Iaf067396ac7d9ed6d920b0b033fcf61353756342 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/webview/qwebview_winrt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/qwebview_winrt.cpp b/src/webview/qwebview_winrt.cpp
index 88b5ddf..64150ed 100644
--- a/src/webview/qwebview_winrt.cpp
+++ b/src/webview/qwebview_winrt.cpp
@@ -315,7 +315,7 @@ QWinRTWebViewPrivate::QWinRTWebViewPrivate(QObject *parent)
Callback<ITypedEventHandler<WebView *, WebViewNavigationStartingEventArgs *>>(this, &QWinRTWebViewPrivate::onNavigationStarted).Get(),
&d->navigationStartingToken);
Q_ASSERT_SUCCEEDED(hr);
- d->ext->add_NavigationCompleted(
+ hr = d->ext->add_NavigationCompleted(
Callback<ITypedEventHandler<WebView *, WebViewNavigationCompletedEventArgs *>>(this, &QWinRTWebViewPrivate::onNavigationCompleted).Get(),
&d->navigationCompletedToken);
Q_ASSERT_SUCCEEDED(hr);