diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) set(QT_MIN_VERSION 5.5.0) -set(KF5_MIN_VERSION 5.16.0) +set(KF5_MIN_VERSION 5.31.0) # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "17") diff --git a/app/batchextract.cpp b/app/batchextract.cpp --- a/app/batchextract.cpp +++ b/app/batchextract.cpp @@ -170,7 +170,7 @@ if (openDestinationAfterExtraction()) { QUrl destination(destinationFolder()); destination.setPath(QDir::cleanPath(destination.path())); - KRun::runUrl(destination, QStringLiteral("inode/directory"), 0); + KRun::runUrl(destination, QStringLiteral("inode/directory"), Q_NULLPTR, KRun::RunExecutables, QString(), QByteArray()); } qCDebug(ARK) << "Finished, emitting the result"; diff --git a/part/part.cpp b/part/part.cpp --- a/part/part.cpp +++ b/part/part.cpp @@ -1032,7 +1032,7 @@ } else { KRun::runUrl(QUrl::fromUserInput(fullName, QString(), QUrl::AssumeLocalFile), QMimeDatabase().mimeTypeForFile(fullName).name(), - widget(), false, false); + widget(), KRun::RunFlags()); } } else if (job->error() != KJob::KilledJobError) { KMessageBox::error(widget(), job->errorString()); @@ -1262,7 +1262,7 @@ QUrl destinationDirectory = QUrl::fromLocalFile(extractJob->destinationDirectory()).adjusted(QUrl::NormalizePathSegments); qCDebug(ARK) << "Shall open URL" << destinationDirectory; - KRun::runUrl(destinationDirectory, QStringLiteral("inode/directory"), widget()); + KRun::runUrl(destinationDirectory, QStringLiteral("inode/directory"), widget(), KRun::RunExecutables, QString(), QByteArray()); } if (ArkSettings::closeAfterExtraction()) {