Fix build with older KF versions

GIT_SILENT
This commit is contained in:
Ahmad Samir 2022-10-19 17:45:10 +02:00
parent 29f283277b
commit 1d04d04cf3

View file

@ -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
}