summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-17 00:46:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-24 01:33:59 +0200
commit7cd00f6764a775934394ac9ee92b2393e5928f50 (patch)
tree1054cf65920aa72316b1922d2f6bfadd2f3c995b /src/application.cpp
parentAdd icons for "history panel" and "page source" items (diff)
downloadrekonq-7cd00f6764a775934394ac9ee92b2393e5928f50.tar.xz
Definitely fixing rekonq API. First step.
newTab function in MainView
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index afd6a2cc..27dcc83a 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -141,9 +141,9 @@ MainWindow *Application::mainWindow()
}
-WebView *Application::newWebView(Rekonq::OpenType type)
+WebView *Application::newWebView()
{
- return m_mainWindow->mainView()->newWebView(type);
+ return m_mainWindow->mainView()->newTab();
}