mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
Don't generate mimetypes like "\nvideo/x-mpeg2" -- the bug was in the NP_GetMIMEDescription implementation of
/usr/lib/mozilla/plugins/mplayerplug-in.so, which returns mimetypes separated by ";\n" instead of just ";" as specified by https://developer.mozilla.org/En/NP_GetMIMEDescription... Nicolas will report that bug, but let's have the workaround anyway, can't hurt. BUG: 178562 svn path=/trunk/KDE/kdebase/apps/; revision=901122
This commit is contained in:
parent
d28be104d2
commit
4676cd66fc
|
@ -403,7 +403,7 @@ void scanDirectory( const QString &dir, QStringList &mimeInfoList,
|
|||
kDebug(1433) << " - type=" << *type;
|
||||
name = name.replace( ':', "%3A" );
|
||||
|
||||
QString entry = name + ':' + *type;
|
||||
QString entry = name + ':' + (*type).trimmed();
|
||||
if ( !mimeInfoList.contains( entry ) ) {
|
||||
if (!actuallyUsing) {
|
||||
// note the plugin name
|
||||
|
|
Loading…
Reference in a new issue