On Saturday 06 November 2010, Milian Wolff wrote:
> It is matched by the above glob pattern and hence it's mimetype is 
> application/x-valgrind-massif. This in turn makes this fail:
> 
> QIODevice* device = KFilterDev::deviceForFile (file.toLocalFile(),
> mimeType,  false);
> 
> As it will not find a filter for this mimetype...

Really? KFilterBase uses mimetype-inheritance... ah I see, your mimetype does 
not inherit gzip. Well, keep it simple, just don't pass the mimeType to 
deviceForFile, then the extension will be used.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to