From: Ahmad Samir Date: Wed, 19 Oct 2022 15:45:10 +0000 (+0200) Subject: Fix build with older KF versions X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/1d04d04cf301e82971d90cceb541f368192e2167 Fix build with older KF versions GIT_SILENT --- diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index 236f9817d..906da2b9d 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 }