From 32c1bd71880b3987700aee2d42bfba83c7a1a3bd Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 17 Jul 2021 14:36:54 +0200 Subject: Clean up KF API older than 5.82 GIT_SILENT --- src/trash/dolphintrash.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/trash') diff --git a/src/trash/dolphintrash.cpp b/src/trash/dolphintrash.cpp index 8684cda06..df8834556 100644 --- a/src/trash/dolphintrash.cpp +++ b/src/trash/dolphintrash.cpp @@ -22,11 +22,7 @@ Trash::Trash() // The trash icon must always be updated dependent on whether // the trash is empty or not. We use a KDirLister that automatically // watches for changes if the number of items has been changed. -#if KIO_VERSION < QT_VERSION_CHECK(5, 82, 0) - m_trashDirLister->setAutoErrorHandlingEnabled(false, nullptr); -#else m_trashDirLister->setAutoErrorHandlingEnabled(false); -#endif m_trashDirLister->setDelayedMimeTypes(true); auto trashDirContentChanged = [this]() { bool isTrashEmpty = m_trashDirLister->items().isEmpty(); -- cgit v1.3