diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -41,6 +41,7 @@ emit emptinessChanged(isTrashEmpty); }; connect(m_trashDirLister, static_cast(&KDirLister::completed), this, trashDirContentChanged); + connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged); m_trashDirLister->openUrl(QStringLiteral("trash:/")); }