]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/trash/dolphintrash.cpp
Update trash icon after restore operation
[dolphin.git] / src / trash / dolphintrash.cpp
index cb2e3be665ecd607741e7facdedd7d43c25c5153..8157094401ee4ba24cd0178de21de7a997885497 100644 (file)
@@ -41,6 +41,7 @@ Trash::Trash()
         emit emptinessChanged(isTrashEmpty);
     };
     connect(m_trashDirLister, static_cast<void(KDirLister::*)()>(&KDirLister::completed), this, trashDirContentChanged);
+    connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged);
     m_trashDirLister->openUrl(QStringLiteral("trash:/"));
 }