From 1d04d04cf301e82971d90cceb541f368192e2167 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 19 Oct 2022 17:45:10 +0200 Subject: [PATCH] Fix build with older KF versions GIT_SILENT --- src/trash/dolphintrash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index 236f9817d3..906da2b9da 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -75,7 +75,7 @@ void Trash::empty(QWidget *window) KIO::Job* job = KIO::emptyTrash(); KJobWidgets::setWindow(job, window); job->uiDelegate()->setAutoErrorHandlingEnabled(true); - QObject::connect(emptyJob, &KIO::Job::result, notifyEmptied); + QObject::connect(job, &KIO::Job::result, notifyEmptied); } #endif }