diff options
Diffstat (limited to 'src/webpluginfactory.cpp')
-rw-r--r-- | src/webpluginfactory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webpluginfactory.cpp b/src/webpluginfactory.cpp index 1478339b..0d333748 100644 --- a/src/webpluginfactory.cpp +++ b/src/webpluginfactory.cpp @@ -29,6 +29,7 @@ #include "webpluginfactory.moc" // Local Includes +#include "rekonq.h" #include "application.h" #include "mainwindow.h" #include "previewimage.h" @@ -85,6 +86,9 @@ QObject *WebPluginFactory::create(const QString &mimeType, return new PreviewImage(url, title, number, isFavorite); } + if(ReKonfig::pluginsEnabled() == 0) + return 0; + if(mimeType == QString("application/x-shockwave-flash") && !loadClickToFlash) // the button wasn't clicked { |