X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/957a6f4f31d6a50682cb3ac16447dc72498afea9..9d11e5d4b40feac2272c2a58c714c4902eb1b6e5:/src/trash/dolphintrash.cpp diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index e4a2d947c..957091e54 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -40,7 +40,7 @@ Trash::Trash() bool isTrashEmpty = m_trashDirLister->items().isEmpty(); emit emptinessChanged(isTrashEmpty); }; - connect(m_trashDirLister, static_cast(&KDirLister::completed), this, trashDirContentChanged); + connect(m_trashDirLister, QOverload<>::of(&KCoreDirLister::completed), this, trashDirContentChanged); connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged); m_trashDirLister->openUrl(QUrl(QStringLiteral("trash:/"))); }