summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-21 23:47:08 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-21 23:47:08 +0200
commit8dc9b31c5036707d8f011636d46e5411d57fd3ea (patch)
tree96bcc1f6783cd1a380b44bb554611f1a1a5ebd48 /src/mainview.cpp
parentUpdated History classes with Ben Meyer patches via kojots350 (diff)
downloadrekonq-8dc9b31c5036707d8f011636d46e5411d57fd3ea.tar.xz
Fixing (and updating) MainView code
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
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);
}