1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

[Fix] Fixed duplicating current url in history when restoring session.

This commit is contained in:
nowrep 2013-03-13 11:55:22 +01:00
parent a9cee1fffe
commit f508475916
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Version 1.4.1 Version 1.4.1
* not yet released * not yet released
* fixed showing empty back/forward history menu upon restoring session
* fixed duplicating current url in history when restoring session
* fixed instantly showing popup when clicking on back/forward button * fixed instantly showing popup when clicking on back/forward button
Version 1.4.0 Version 1.4.0

View File

@ -250,10 +250,10 @@ void WebTab::restoreTab(const WebTab::SavedTab &tab)
void WebTab::p_restoreTab(const QUrl &url, const QByteArray &history) void WebTab::p_restoreTab(const QUrl &url, const QByteArray &history)
{ {
m_view->load(url);
QDataStream historyStream(history); QDataStream historyStream(history);
historyStream >> *m_view->history(); historyStream >> *m_view->history();
m_view->load(url);
} }
void WebTab::p_restoreTab(const WebTab::SavedTab &tab) void WebTab::p_restoreTab(const WebTab::SavedTab &tab)