Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 4a75e0bb authored by Frerich Raabe's avatar Frerich Raabe

- I think this is what defaultMimeType() is for

svn path=/trunk/kdemultimedia/juk/; revision=214755
parent 40f74829
......@@ -41,7 +41,7 @@ Tag *Tag::createTag(const QString &file, bool ignoreCache)
return cachedItem;
KMimeType::Ptr result = KMimeType::findByURL(file, 0, true /* local file */);
if(result->name() == "application/octet-stream")
if(result->name() == KMimeType::defaultMimeType())
return 0;
if(result->name() == "audio/x-mp3")
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