summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-29 10:50:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-29 10:50:22 +0200
commitae7ac6a017bce310a160bb9152062635fdc72188 (patch)
tree47765a2d72faf25737d80eac3af211079a529b16 /src/webview.cpp
parentFixed loading Url methods. (diff)
downloadrekonq-ae7ac6a017bce310a160bb9152062635fdc72188.tar.xz
Some fixes and warning on webview createWindow
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 61eb051a..1320f38a 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -165,9 +165,10 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
// added to manage web modal dialogs
if (type == QWebPage::WebModalDialog)
{
- // FIXME
- kWarning() << "trying QWebView here ---------------------------------------";
+ // FIXME : need a "real" implementation..
+ kWarning() << "Modal Dialog ---------------------------------------";
QWebView *w = new QWebView();
+ w->show();
return w->page();
}
@@ -179,7 +180,7 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
if (m_openInNewTab)
{
m_openInNewTab = false;
- return Application::instance()->mainWindow()->mainView()->newWebView()->page();
+ return Application::instance()->newWebView()->page();
}
MainWindow *mainWindow = Application::instance()->mainWindow();