Commit a1acb774 authored by Albert Astals Cid's avatar Albert Astals Cid

KFilterCombo: application/octet-stream is also hasAllFilesFilter

application/octet-stream == QMimeType::isDefault()

After all it's the mimetype we add later in the hasAllFilesFilter if

And the Qt docu says "use application/octet-stream to show "All Files"
parent d8fa6aaa
......@@ -171,7 +171,7 @@ void KFileFilterCombo::setMimeFilter(const QStringList &types,
continue;
}
if (type.name().startsWith(QLatin1String("all/"))) {
if (type.name().startsWith(QLatin1String("all/")) || type.isDefault()) {
hasAllFilesFilter = true;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment