diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index e6748263..0c2e0b6e 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -111,19 +111,19 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type) } -// QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList ¶mNames, const QStringList ¶mValues) -// { -// kWarning() << "creating PLUGIN for rekonq "; -// kWarning() << "classId = " << classId; -// kWarning() << "url = " << url; -// kWarning() << "Param Names = " << paramNames; -// kWarning() << "Param Values = " << paramValues; +QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList ¶mNames, const QStringList ¶mValues) +{ + kWarning() << "creating PLUGIN for rekonq "; + kWarning() << "classId = " << classId; + 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()); -// } + QUiLoader loader; + return loader.createWidget(classId, view()); +} void WebPage::handleUnsupportedContent(QNetworkReply *reply) |