From 3b7a1ffae0ae9e5fd0c1dd238434e0bf312fa6ad Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 14 Aug 2012 10:57:58 +0200 Subject: Get sure rekonq makes use of djvu plugin Also, clean up mimetype detection, following kdewebkit. I tried implementing this using the protected excludeMimeType in kwebpluginfactory, but I fear it has to be declared virtual to let the trick work. Isn't it? BUG: 304562 CCMAIL: adawit@kde.org --- src/webpluginfactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpluginfactory.h') diff --git a/src/webpluginfactory.h b/src/webpluginfactory.h index b1bcd967..82bf02ce 100644 --- a/src/webpluginfactory.h +++ b/src/webpluginfactory.h @@ -43,7 +43,7 @@ class REKONQ_TESTS_EXPORT WebPluginFactory : public KWebPluginFactory public: WebPluginFactory(QObject *parent); - virtual QObject *create(const QString &mimeType, + virtual QObject *create(const QString &_mimeType, const QUrl &url, const QStringList &argumentNames, const QStringList &argumentValues) const; -- cgit v1.2.1