As discussed in D1813, I'm trying to understand how exactly the filters are handled and where the actual problem is. For now I've come up with this failing test case, which looks like this:
FAIL! : KFileDialog_UnitTest::testSelectedNameFilterFromMime(single mime filter (C header file)) Compared values are not the same Actual (dialog.selectedNameFilter()): "" Expected (expectedSelectedNameFilter) : "C header (*.h)"
QFileDialog::selectMimeTypeFilter() calls KDEPlatformFileDialogHelper::selectNameFilter() which in turn calls qt2KdeFilter(), so it seems that my patch in D1813 was at the wrong place/level, as it was changing kde2QtFilter()...