From ae7ac6a017bce310a160bb9152062635fdc72188 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Apr 2009 10:50:22 +0200 Subject: Some fixes and warning on webview createWindow --- src/webview.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/webview.cpp') 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(); -- cgit v1.2.1