diff options
| author | Roman Inflianskas <[email protected]> | 2018-03-10 22:29:26 +0300 |
|---|---|---|
| committer | Roman Inflianskas <[email protected]> | 2018-03-11 19:47:31 +0300 |
| commit | c0797e8adef58bc57254d86d6f1abaa46d732f19 (patch) | |
| tree | 96a989a9b97426f286d72b7a05d855fb50f8a915 /src/trash | |
| parent | 69239fdf410c82429d41239e7a07ef043a6bf59c (diff) | |
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
Diffstat (limited to 'src/trash')
| -rw-r--r-- | src/trash/dolphintrash.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index cb2e3be66..815709440 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -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:/")); } |
