diff options
| author | Alexander Lohnau <[email protected]> | 2021-11-11 20:27:47 +0100 |
|---|---|---|
| committer | Alexander Lohnau <[email protected]> | 2021-12-13 08:35:26 +0000 |
| commit | fd717b88faab656205c2b5712959f9fd48e433a5 (patch) | |
| tree | 97d3ade2f67949c29dfc2c3473dcf27a40d4517a /src/trash/dolphintrash.cpp | |
| parent | 432c7765997cb987362329d41c5bd67e734ca51d (diff) | |
Drop now unneeded QOverload statements
By defining the KF_DISABLE_DEPRECATED_BEFORE_AND_AT and QT_DISABLE_DEPRECATED_BEFOREvalues,
the deprecated overloads are hidden. This way we only have the un-deprecated one visible.
Diffstat (limited to 'src/trash/dolphintrash.cpp')
| -rw-r--r-- | src/trash/dolphintrash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index df8834556..1446ab388 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -28,7 +28,7 @@ Trash::Trash() bool isTrashEmpty = m_trashDirLister->items().isEmpty(); Q_EMIT emptinessChanged(isTrashEmpty); }; - connect(m_trashDirLister, QOverload<>::of(&KCoreDirLister::completed), this, trashDirContentChanged); + connect(m_trashDirLister, &KCoreDirLister::completed, this, trashDirContentChanged); connect(m_trashDirLister, &KDirLister::itemsDeleted, this, trashDirContentChanged); m_trashDirLister->openUrl(QUrl(QStringLiteral("trash:/"))); } |
