X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/4aff36d14870488397a034a55f7f6cb83796d3e3..9760f9607d:/src/trash/dolphintrash.cpp diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index cb2e3be66..749d0d481 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -41,7 +41,8 @@ Trash::Trash() emit emptinessChanged(isTrashEmpty); }; connect(m_trashDirLister, static_cast(&KDirLister::completed), this, trashDirContentChanged); - m_trashDirLister->openUrl(QStringLiteral("trash:/")); + connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged); + m_trashDirLister->openUrl(QUrl(QStringLiteral("trash:/"))); } Trash::~Trash()