diff options
Diffstat (limited to 'src/webenginewidgets/api/qwebenginehistory.cpp')
-rw-r--r-- | src/webenginewidgets/api/qwebenginehistory.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/webenginewidgets/api/qwebenginehistory.cpp b/src/webenginewidgets/api/qwebenginehistory.cpp index d9e9b9c9f..7079bdfc7 100644 --- a/src/webenginewidgets/api/qwebenginehistory.cpp +++ b/src/webenginewidgets/api/qwebenginehistory.cpp @@ -281,15 +281,13 @@ void QWebEngineHistory::setMaximumItemCount(int count) QDataStream& operator<<(QDataStream& stream, const QWebEngineHistory& history) { - Q_UNUSED(history); - qWarning("Not implemented: %s", __func__); + history.d_func()->page->webContents()->serializeNavigationHistory(stream); return stream; } QDataStream& operator>>(QDataStream& stream, QWebEngineHistory& history) { - Q_UNUSED(history); - qWarning("Not implemented: %s", __func__); + history.d_func()->page->recreateFromSerializedHistory(stream); return stream; } |