diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-21 23:47:08 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-21 23:47:08 +0200 |
commit | 8dc9b31c5036707d8f011636d46e5411d57fd3ea (patch) | |
tree | 96bcc1f6783cd1a380b44bb554611f1a1a5ebd48 | |
parent | Updated History classes with Ben Meyer patches via kojots350 (diff) | |
download | rekonq-8dc9b31c5036707d8f011636d46e5411d57fd3ea.tar.xz |
Fixing (and updating) MainView code
-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); } |