summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 8d605a81..5a7c5dc3 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"
@@ -136,14 +136,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();
}