]> cloud.milkyroute.net Git - dolphin.git/commit
Use a saner check for multimedia files in infopanel.
authorMartin Sandsmark <martin.sandsmark@kde.org>
Thu, 9 Aug 2012 01:27:11 +0000 (03:27 +0200)
committerJekyll Wu <adaptee@gmail.com>
Thu, 9 Aug 2012 02:44:14 +0000 (10:44 +0800)
commit0751d0b0187f113d319c6680ba0110626507d8bc
treee2349430fd2f232aa873d12ba7fafd7c4a8789ce
parente534bc08f05a7218cf46fc5137a25304916530ee
Use a saner check for multimedia files in infopanel.

Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.

(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)

BUG: 252539
FIXED-IN: 4.9.1

(cherry picked from commit 2fb4419de053c43a0a70ffb21920db687fa87b6e)
src/panels/information/informationpanelcontent.cpp