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

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


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6325/
-----------------------------------------------------------

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


Summary
-------

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.


Diffs
-----

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

Diff: http://svn.reviewboard.kde.org/r/6325/diff


Testing
-------

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


Thanks,

Lubos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110111/52d23947/attachment.htm>


More information about the kde-core-devel mailing list