Commit abf28b12 authored by Andreas Pakulat's avatar Andreas Pakulat
Browse files

Adapt to the latest change in kdelibs KFilterBase

svn path=/trunk/KDE/kdebase/runtime/; revision=654679
parent 25263cdc
......@@ -107,7 +107,7 @@ void FilterProtocol::get( const KUrl & )
bNeedHeader = false;
}
result = filter->uncompress();
if ((filter->outBufferAvailable() == 0) || (result == KFilterBase::END))
if ((filter->outBufferAvailable() == 0) || (result == KFilterBase::End))
{
kDebug(7110) << "avail_out = " << filter->outBufferAvailable() << endl;
if (filter->outBufferAvailable() != 0)
......@@ -124,10 +124,10 @@ void FilterProtocol::get( const KUrl & )
}
data( outputBuffer ); // Send data
filter->setOutBuffer( outputBuffer.data(), outputBuffer.size() );
if (result == KFilterBase::END)
if (result == KFilterBase::End)
break; // Finished.
}
if (result != KFilterBase::OK)
if (result != KFilterBase::Ok)
{
bError = true;
break; // Error
......
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