summaryrefslogtreecommitdiffstats
path: root/src/webview/qwebview_winrt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/qwebview_winrt.cpp')
-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);