From 816e5fec4f47a677d5375ab753cb912090d34c41 Mon Sep 17 00:00:00 2001 From: Vincent Reher Date: Sat, 19 Feb 2022 09:32:22 -0800 Subject: Fix Konqueror plugin tdefile_mp3 to activate on mimetype audio/mpeg. This resolves issue #33. Signed-off-by: Vincent Reher (cherry picked from commit 712bd43fb823d75702d1777ef27ea2257866e141) --- tdefile-plugins/mp3/tdefile_mp3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdefile-plugins/mp3/tdefile_mp3.cpp') diff --git a/tdefile-plugins/mp3/tdefile_mp3.cpp b/tdefile-plugins/mp3/tdefile_mp3.cpp index 2d0e0022..39cb186d 100644 --- a/tdefile-plugins/mp3/tdefile_mp3.cpp +++ b/tdefile-plugins/mp3/tdefile_mp3.cpp @@ -47,9 +47,9 @@ K_EXPORT_COMPONENT_FACTORY(tdefile_mp3, Mp3Factory( "tdefile_mp3" )) KMp3Plugin::KMp3Plugin(TQObject *parent, const char *name, const TQStringList &args) : KFilePlugin(parent, name, args) { - kdDebug(7034) << "mp3 plugin\n"; + kdDebug(7034) << "mp3 plugin for mimetype " << name << endl; - KFileMimeTypeInfo *info = addMimeTypeInfo("audio/x-mp3"); + KFileMimeTypeInfo *info = addMimeTypeInfo(name); // id3 group -- cgit v1.2.1