diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-29 08:04:31 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-29 08:04:31 +0200 |
commit | 0b151ba388d46c4112b4e861d45f0d8229c8a599 (patch) | |
tree | 75dc5023c1f77ac977f6c4b54d0dc28bcd5acc43 /src/application.cpp | |
parent | Search wrap (diff) | |
download | rekonq-0b151ba388d46c4112b4e861d45f0d8229c8a599.tar.xz |
API change (rename). In MainView, newTab --> newWebView
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 8 |
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(); } |