mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[Fix] Fixed duplicating current url in history when restoring session.
This commit is contained in:
parent
a9cee1fffe
commit
f508475916
|
@ -1,5 +1,7 @@
|
|||
Version 1.4.1
|
||||
* 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
|
||||
|
||||
Version 1.4.0
|
||||
|
|
|
@ -250,10 +250,10 @@ void WebTab::restoreTab(const WebTab::SavedTab &tab)
|
|||
|
||||
void WebTab::p_restoreTab(const QUrl &url, const QByteArray &history)
|
||||
{
|
||||
m_view->load(url);
|
||||
|
||||
QDataStream historyStream(history);
|
||||
historyStream >> *m_view->history();
|
||||
|
||||
m_view->load(url);
|
||||
}
|
||||
|
||||
void WebTab::p_restoreTab(const WebTab::SavedTab &tab)
|
||||
|
|
Loading…
Reference in New Issue
Block a user