[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio/kio
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-09-01 15:55:34
Message-ID: 20040901155534.CD45E2322 () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Do not try to find a filter for text/plain and application/octet-stream
(The main goal is to avoid the kdWarning.)
CCMAIL:88574-close@bugs.kde.org
M +5 -0 kfilterbase.cpp 1.14
--- kdelibs/kio/kio/kfilterbase.cpp #1.13:1.14
@@ -49,4 +49,9 @@ KFilterBase * KFilterBase::findFilterByF
KFilterBase * KFilterBase::findFilterByMimeType( const QString & mimeType )
{
+ if ( mimeType == "text/plain" || mimeType == "application/octet-stream" )
+ {
+ // That are mime types that do not need any filter, so do not search any
+ return 0L;
+ }
KTrader::OfferList offers = KTrader::self()->query( "KDECompressionFilter",
QString("'") + mimeType + "' in ServiceTypes" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic