- // as long as KIO doesn't do this, do it ourselves
- connect(job, &KIO::Job::result, []() {
- KNotification::event(QStringLiteral("Trash: emptied"), i18n("Trash Emptied"),
- i18n("The Trash was emptied."), QStringLiteral("user-trash"),
- nullptr, KNotification::DefaultEvent);
- });
- return job;