diff options
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 49fa237b..245a2ff7 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -438,7 +438,7 @@ void MainView::windowCloseRequested() { if (count() == 1) { - webView->webPage()->mainWindow()->close(); + Application::instance()->mainWindow()->close(); } else { @@ -575,7 +575,7 @@ void MainView::webViewTitleChanged(const QString &title) { emit setCurrentTitle(tabTitle); } - Application::historyManager()->updateHistoryItem(webView->url(), tabTitle); + Application::historyManager()->updateHistoryEntry(webView->url(), tabTitle); } |