summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 0151d364..3ff931e4 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -64,7 +64,7 @@ Application::Application()
m_mainWindow = new MainWindow();
m_mainWindow->setObjectName("MainWindow");
setWindowIcon(KIcon("rekonq"));
- newTab();
+ newWebView();
m_mainWindow->show();
@@ -91,7 +91,7 @@ int Application::newInstance()
for (int i = 1; i < args->count(); ++i)
{
KUrl url = MainWindow::guessUrlFromString(args->arg(i));
- newTab();
+ newWebView();
mainWindow()->loadUrl(url);
}
args->clear();
@@ -143,9 +143,9 @@ MainWindow *Application::mainWindow()
}
-WebView *Application::newTab()
+WebView *Application::newWebView()
{
- return m_mainWindow->mainView()->newTab();
+ return m_mainWindow->mainView()->newWebView();
}