Commit cfd077f1 authored by Nicolas Fella's avatar Nicolas Fella Committed by Albert Astals Cid
Browse files

Remove handling for nonexistant mime types

These are old KDE-specific mimetypes not part of shared-mime-info/QMimeDatabase
parent b2520628
Pipeline #221767 passed with stage
in 44 seconds
......@@ -333,9 +333,7 @@ KfindTabWidget::KfindTabWidget(QWidget *parent)
const auto types = QMimeDatabase().allMimeTypes();
for (const QMimeType &type : types) {
if ((!type.comment().isEmpty())
&& (!type.name().startsWith(QLatin1String("kdedevice/")))
&& (!type.name().startsWith(QLatin1String("all/")))) {
if (!type.comment().isEmpty()) {
mimeTypes.all.append(type);
if (type.name().startsWith(QLatin1String("image/"))) {
......
Supports Markdown
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