[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/phonon/platform_kde
From:       Kevin Ottens <ervin () kde ! org>
Date:       2010-10-27 14:22:45
Message-ID: 20101027142245.3015BAC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1190385 by ervin:

 * Remove useless klibloader.h inclusion.
 * hadMimeType(QString) is the right overload, the other one is
   deprecated.


 M  +1 -2      kdeplatformplugin.cpp  


--- trunk/KDE/kdebase/runtime/phonon/platform_kde/kdeplatformplugin.cpp #1190384:1190385
@@ -30,7 +30,6 @@
 #include <kcomponentdata.h>
 #include <kglobal.h>
 #include <kicon.h>
-#include <klibloader.h>
 #include <klocale.h>
 #include <kmessagebox.h>
 #include <kmimetype.h>
@@ -241,7 +240,7 @@
     const KService::List offers = KServiceTypeTrader::self()->query("PhononBackend",
             "Type == 'Service' and [X-KDE-PhononBackendInfo-InterfaceVersion] == 1");
     if (!offers.isEmpty()) {
-        return offers.first()->hasMimeType(KMimeType::mimeType(mimeType).data());
+        return offers.first()->hasMimeType(mimeType);
     }
     return false;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic