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