diff options
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 1f7738ea..3fc0aac4 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -39,7 +39,7 @@ #include "application.h" #include "mainwindow.h" #include "mainview.h" -#include "webview.h" +#include "webtab.h" #include "webpluginfactory.h" #include "networkaccessmanager.h" @@ -126,14 +126,14 @@ WebPage *WebPage::createWindow(QWebPage::WebWindowType type) if (type == QWebPage::WebModalDialog) kDebug() << "Modal Dialog"; - WebView *w = 0; + WebTab *w = 0; if(ReKonfig::openTabNoWindow()) { - w = Application::instance()->mainWindow()->mainView()->newWebView(!ReKonfig::openTabsBack()); + w = Application::instance()->mainWindow()->mainView()->newWebTab(!ReKonfig::openTabsBack()); } else { - w = Application::instance()->newMainWindow()->mainView()->currentWebView(); + w = Application::instance()->newMainWindow()->mainView()->currentWebTab(); } return w->page(); } |