summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebenginehistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/api/qquickwebenginehistory.cpp')
-rw-r--r--src/webengine/api/qquickwebenginehistory.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/webengine/api/qquickwebenginehistory.cpp b/src/webengine/api/qquickwebenginehistory.cpp
index 184b7079..07ab7810 100644
--- a/src/webengine/api/qquickwebenginehistory.cpp
+++ b/src/webengine/api/qquickwebenginehistory.cpp
@@ -178,13 +178,9 @@ QQuickWebEngineHistoryListModel *QQuickWebEngineHistory::forwardItems() const
return d->m_forwardNavigationModel.data();
}
-void QQuickWebEngineHistory::reset(QQuickWebEngineLoadRequest *loadRequest)
+void QQuickWebEngineHistory::reset()
{
Q_D(QQuickWebEngineHistory);
-
- if (loadRequest->status() != QQuickWebEngineView::LoadSucceededStatus)
- return;
-
d->m_backNavigationModel->reset();
d->m_forwardNavigationModel->reset();
}