Commit 72a5b8af authored by Stephan Kulow's avatar Stephan Kulow
Browse files

patch by Steve G <linux_4ever yahoo.com> fixing several problems in kdebase

svn path=/trunk/kdebase/kioslave/; revision=373210
parent 8834a6db
......@@ -118,7 +118,9 @@ void FilterProtocol::get( const KURL & )
if (bNeedMimetype)
{
KMimeMagicResult * result = KMimeMagic::self()->findBufferFileType( outputBuffer, subURL.fileName() );
// FIXME: what if result == KFilterBase::END ?
kdDebug(7110) << "Emitting mimetype " << result->mimeType() << endl;
// FIXME: see above
mimeType( result->mimeType() );
bNeedMimetype = false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment