summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-25 00:47:24 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-25 00:47:24 +0100
commit48b25611c94d380b40948a3de0bfab5678668e1d (patch)
tree30348cee350d258ba86724858dcc098b3615eb9c /src/webview.cpp
parentFixed notFound.html page (diff)
downloadrekonq-48b25611c94d380b40948a3de0bfab5678668e1d.tar.xz
Huge update. Fixed quite all of the settings troubles..
From now on, we (mainly) go on WebView bugfixing..
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index da286ee8..947b08cd 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -122,7 +122,7 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
if (m_openInNewTab)
{
m_openInNewTab = false;
- return mainWindow()->tabWidget()->newTab()->page();
+ return mainWindow()->mainView()->newTab()->page();
}
MainWindow *mainWindow = Application::instance()->mainWindow();
@@ -137,9 +137,7 @@ QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QS
kWarning() << "url = " << url;
kWarning() << "Param Names = " << paramNames;
kWarning() << "Param Values = " << paramValues;
-// Q_UNUSED(url);
-// Q_UNUSED(paramNames);
-// Q_UNUSED(paramValues);
+
QUiLoader loader;
return loader.createWidget(classId, view());
}