diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 7 |
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(); |