Review Request: a patch for returning the currentMimeFilter also with native filedialogs

Patrick Spendrin ps_ml at
Mon Sep 28 23:56:07 BST 2009

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

Review request for kdelibs.


When opening a file dialog, there is the possibility to use the native (Qt) dialog. When using this option, the return value of currentMimeFilter() does not respect the filter that is returned by the Qt file dialogs. To support this I moved some of the static functions into the private class and added a QString pointer (similar as it is done by QFileDialog::getOpenFileName).
The bug can be checked in koffice in the export dialog: With native file dialog, switching the document filter will not change the file format you can export to (it will always be the native one).


  /trunk/KDE/kdelibs/kio/kfile/kfiledialog.cpp 1025044 



On Windows of course, please test if the code still works correctly on Linux. To enable the native filedialog simply put 
[KFileDialog Settings]
into your kdeglobals (should work on Linux too, but is not really needed).



More information about the kde-core-devel mailing list