Commit b2fa6180 authored by Luca Beltrame's avatar Luca Beltrame Committed by Laurent Montel
Browse files

Fix build against recent KIO

Basic became StatBasic
(36038b904f6862b556402f7a24c4dea606ac070d in KIO).

(cherry picked from commit dc035308)
parent 352fdb95
...@@ -158,7 +158,7 @@ bool Util::checkOverwrite(const QUrl &url, QWidget *w) ...@@ -158,7 +158,7 @@ bool Util::checkOverwrite(const QUrl &url, QWidget *w)
#if KIO_VERSION < QT_VERSION_CHECK(5, 69, 0) #if KIO_VERSION < QT_VERSION_CHECK(5, 69, 0)
auto job = KIO::stat(url, KIO::StatJob::DestinationSide, 0, KIO::JobFlag::DefaultFlags); auto job = KIO::stat(url, KIO::StatJob::DestinationSide, 0, KIO::JobFlag::DefaultFlags);
#else #else
auto job = KIO::statDetails(url, KIO::StatJob::DestinationSide, KIO::StatDetail::Basic); auto job = KIO::statDetails(url, KIO::StatJob::DestinationSide, KIO::StatBasic);
#endif #endif
KJobWidgets::setWindow(job, w); KJobWidgets::setWindow(job, w);
fileExists = job->exec(); fileExists = job->exec();
......
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