summaryrefslogtreecommitdiff
path: root/src/webpluginfactory.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-20 02:46:17 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-20 02:46:17 +0200
commitb3f172b30cf7523d97b79e921c3c7aee916f789e (patch)
tree451e50c0d9876e6efb3f1f927fdca0addba3a484 /src/webpluginfactory.cpp
parentrekonq 0.2.59 (diff)
downloadrekonq-b3f172b30cf7523d97b79e921c3c7aee916f789e.tar.xz
Flash loading fix
Diffstat (limited to 'src/webpluginfactory.cpp')
-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;
}