summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webpluginfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp
index 1e599327..64ed3655 100644
--- a/src/webpluginfactory.cpp
+++ b/src/webpluginfactory.cpp
@@ -69,10 +69,10 @@ QObject *WebPluginFactory::create(const QString &mimeType,
return new PreviewImage(url, pos);
}
+ // this let QtWebKit using builtin plugins
+ // to load in example flash contents and so on..
kDebug() << "No plugins found for" << mimeType;
- QWebView* webView = new QWebView;
- webView->load(url);
- return webView;
+ return 0;
}