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/webview.cpp | |
parent | Search wrap (diff) | |
download | rekonq-0b151ba388d46c4112b4e861d45f0d8229c8a599.tar.xz |
API change (rename). In MainView, newTab --> newWebView
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 239a5f5a..35444f42 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -84,7 +84,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r if (type == QWebPage::NavigationTypeLinkClicked && (m_keyboardModifiers & Qt::ControlModifier || m_pressedButtons == Qt::MidButton)) { - WebView *webView = Application::instance()->newTab(); + WebView *webView = Application::instance()->newWebView(); webView->setFocus(); webView->load(request); m_keyboardModifiers = Qt::NoModifier; @@ -122,7 +122,7 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type) if (m_openInNewTab) { m_openInNewTab = false; - return mainWindow()->mainView()->newTab()->page(); + return mainWindow()->mainView()->newWebView()->page(); } MainWindow *mainWindow = Application::instance()->mainWindow(); |