mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Update trash icon after restore operation
Summary: After restoring all the files from the trash, the trash icon remain 'full'. This patch fixes this. BUG: 252483 Reviewers: elvisangelaccio Reviewed By: elvisangelaccio Subscribers: elvisangelaccio, #dolphin Differential Revision: https://phabricator.kde.org/D11216
This commit is contained in:
parent
69239fdf41
commit
c0797e8ade
|
@ -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:/"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue