Description: Fix FTBFS with KIO 5.92: call createDefaultJobUiDelegate() without arguments
 KIO::createDefaultJobUiDelegate() in the build environment (KIO 5.92)
 declares a parameter-less signature, while the source calls it with
 (KJobUiDelegate::AutoHandlingEnabled, QWidget*) which was only valid in
 older KIO versions. Drop the arguments to fix the "too many arguments"
 compile error in src/k4dirstat.cpp cleanupOpenWith().
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: not-needed
Last-Update: 2026-09-02

--- k4dirstat-3.4.3.orig/src/k4dirstat.cpp
+++ k4dirstat-3.4.3/src/k4dirstat.cpp
@@ -548,7 +548,7 @@ void k4dirstat::cleanupOpenWith() {
   auto *job = new KIO::ApplicationLauncherJob();
   job->setUrls(urlList);
 #if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
-  job->setUiDelegate(KIO::createDefaultJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
+  job->setUiDelegate(KIO::createDefaultJobUiDelegate());
 #else
   job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
 #endif
