Review Request: Make KFileDialog update saved file type based on extension also for non-mimetype based filters

Lubos Lunak l.lunak at
Tue Jan 11 16:51:49 GMT 2011

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs, Rafael Fernández López and David Faure.


Run e.g. Kolourpaint, do 'Save as', type 'a.xpm' , KFileDialog will automatically select 'XPM' as the saved type. This however doesn't work with all applications, namely those that use KFileDialog::setFilter() (i.e. only setMimeFilter() works this way). This patch implements this feature also for this case.


  trunk/KDE/kdelibs/kfile/kfilefiltercombo.h 1208060 
  trunk/KDE/kdelibs/kfile/kfilefiltercombo.cpp 1208060 
  trunk/KDE/kdelibs/kfile/kfilewidget.cpp 1208060 



Tried with LibreOffice with KDE4 integration, where this feature works only with this patch.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list