From 4e8501d78e1791e589b91a3eed72c0608618717c Mon Sep 17 00:00:00 2001 From: magnus Date: Mon, 3 Jan 2022 00:03:02 -0600 Subject: [PATCH] Fix a problem I re-introduced from merge with x-scheme-handler --- selectdefaultapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selectdefaultapplication.cpp b/selectdefaultapplication.cpp index bab5538..d0cd348 100644 --- a/selectdefaultapplication.cpp +++ b/selectdefaultapplication.cpp @@ -411,7 +411,7 @@ void SelectDefaultApplication::setDefault(const QString &appName, QSet continue; } - const QString mimetype = m_mimeDb.mimeTypeForName(line.split('=').first().trimmed()).name(); + const QString mimetype = wrapperMimeTypeForName(line.split('=').first().trimmed()); // If we aren't setting this mimetype, leave any entry, even others that this application owns if (!mimetypes.contains(mimetype)) { existingAssociations.append(line);