Commit 848d36e8 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Port deprecated KIO::stat() -> statDetails()

parent 32b58fff
......@@ -238,7 +238,7 @@ KIO::filesize_t K3b::imageFilesize( const QUrl& url )
{
QUrl nextUrl( url );
nextUrl.setPath(nextUrl.path() + '.' + QString::number(cnt).rightJustified( 3, '0' ));
KIO::StatJob* statJob = KIO::stat(nextUrl, KIO::StatJob::SourceSide, KIO::HideProgressInfo);
KIO::StatJob* statJob = KIO::statDetails(nextUrl, KIO::StatJob::SourceSide, KIO::StatDefaultDetails, KIO::HideProgressInfo);
if (statJob->exec())
size += K3b::filesize(nextUrl);
else
......
Supports Markdown
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