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

List:       kde-commits
Subject:    KDE/kdebase/libkonq
From:       Pascal Létourneau <pascal.letourneau () kdemail ! net>
Date:       2006-07-16 14:13:39
Message-ID: 1153059219.023570.17988.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 563034 by pletourn:

Unbreak porting


 M  +2 -2      konq_popupmenu.cc  


--- trunk/KDE/kdebase/libkonq/konq_popupmenu.cc #563033:563034
@@ -822,7 +822,7 @@
                 ++it;
             }
 
-            offers = KMimeTypeTrader::self()->query( first, constraint );
+            offers = KMimeTypeTrader::self()->query( first, QString(), constraint );
         }
 
         //// Ok, we have everything, now insert
@@ -1125,7 +1125,7 @@
     //search for a plugin with the right protocol
     KService::List plugin_offers;
     unsigned int pluginCount = 0;
-    plugin_offers = KMimeTypeTrader::self()->query( m_sMimeType.isNull() ? \
QLatin1String( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes"); \
+    plugin_offers = KMimeTypeTrader::self()->query( m_sMimeType.isNull() ? \
QLatin1String( "all/all" ) : m_sMimeType, "KonqPopupMenu/Plugin" );  if ( \
plugin_offers.isEmpty() )  return; // no plugins installed do not bother about it
 


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

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