summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 612a8a34..7cae61cf 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -108,16 +108,16 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
return mainWindow->currentTab()->page();
}
-#if !defined(QT_NO_UITOOLS)
-QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
-{
- Q_UNUSED(url);
- Q_UNUSED(paramNames);
- Q_UNUSED(paramValues);
- QUiLoader loader;
- return loader.createWidget(classId, view());
-}
-#endif // !defined(QT_NO_UITOOLS)
+// #if !defined(QT_NO_UITOOLS)
+// QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
+// {
+// Q_UNUSED(url);
+// Q_UNUSED(paramNames);
+// Q_UNUSED(paramValues);
+// QUiLoader loader;
+// return loader.createWidget(classId, view());
+// }
+// #endif // !defined(QT_NO_UITOOLS)
void WebPage::handleUnsupportedContent(QNetworkReply *reply)
{