summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-22 21:23:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-22 21:23:22 +0200
commit4a732b97f634399e5c4859684a25d06d4a830071 (patch)
tree2c89168052dd7235db040b5acd1b16e5ad998b70 /src/application.cpp
parentMerge commit 'pano/string-fixes' (diff)
parentSome stupid fixes on style, spaces and some comments added (diff)
downloadrekonq-4a732b97f634399e5c4859684a25d06d4a830071.tar.xz
Merge branch 'OneUrlBar2'
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 812081de..9263113e 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -301,19 +301,19 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
webView = m_mainWindow->mainView()->newTab(!ReKonfig::openTabsBack());
if (!ReKonfig::openTabsBack())
{
- m_mainWindow->mainView()->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
+ m_mainWindow->mainView()->urlBar()->setUrl(loadingUrl.prettyUrl());
}
break;
case Rekonq::NewCurrentTab:
webView = m_mainWindow->mainView()->newTab(true);
- m_mainWindow->mainView()->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
+ m_mainWindow->mainView()->urlBar()->setUrl(loadingUrl.prettyUrl());
break;
case Rekonq::NewBackTab:
webView = m_mainWindow->mainView()->newTab(false);
break;
case Rekonq::CurrentTab:
webView = m_mainWindow->mainView()->currentWebView();
- m_mainWindow->mainView()->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
+ m_mainWindow->mainView()->urlBar()->setUrl(loadingUrl.prettyUrl());
break;
};