diff options
author | Wolfgang Müller | 2024-11-22 14:03:33 +0100 |
---|---|---|
committer | Wolfgang Müller | 2024-11-22 14:03:33 +0100 |
commit | 7255af3c6fe3ea6ec1cebd582cf7aecfbaac40d4 (patch) | |
tree | bb24133561bee32d75291045415a408926dd545a /desktop-plasma/patches | |
parent | e8769453265943ebf373a6d99fa88834c8109356 (diff) | |
download | portage-roles-7255af3c6fe3ea6ec1cebd582cf7aecfbaac40d4.tar.gz |
desktop-plasma: Remove TrashSizeCache patch
This has been released in 6.8.0
Diffstat (limited to 'desktop-plasma/patches')
-rw-r--r-- | desktop-plasma/patches/kde-frameworks/kio:6/0001-TrashSizeCache-Use-correct-iterator-flags.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/desktop-plasma/patches/kde-frameworks/kio:6/0001-TrashSizeCache-Use-correct-iterator-flags.patch b/desktop-plasma/patches/kde-frameworks/kio:6/0001-TrashSizeCache-Use-correct-iterator-flags.patch deleted file mode 100644 index a24e1c0..0000000 --- a/desktop-plasma/patches/kde-frameworks/kio:6/0001-TrashSizeCache-Use-correct-iterator-flags.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 241eb504801bc4ee12555fa2c8737b409383ba5c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems> -Date: Fri, 4 Oct 2024 16:27:40 +0200 -Subject: [PATCH] TrashSizeCache: Use correct flags for QDirIterator - -When calculating the size of the trash we walk through all files in the -trash path using QDirIterator. In 0ab81b6ba (trashimpl: optimize -TrashSizeCache::calculateSize, 2023-09-05) its invocation was changed to -include the QDir::NoDotAndDotDot filter. ---- - src/kioworkers/trash/trashsizecache.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/kioworkers/trash/trashsizecache.cpp b/src/kioworkers/trash/trashsizecache.cpp -index 81e71f4b9..e67618554 100644 ---- a/src/kioworkers/trash/trashsizecache.cpp -+++ b/src/kioworkers/trash/trashsizecache.cpp -@@ -146,7 +146,7 @@ TrashSizeCache::SizeAndModTime TrashSizeCache::scanFilesInTrash(ScanFilesInTrash - - // Iterate over the actual trashed files. - // Orphan items (no .fileinfo) still take space. -- QDirIterator it(mTrashPath + QLatin1String("/files/"), QDir::NoDotAndDotDot); -+ QDirIterator it(mTrashPath + QLatin1String("/files/"), QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot); - qint64 sum = 0; - qint64 max_mtime = 0; - const auto checkMaxTime = [&max_mtime](const qint64 lastModTime) { --- -2.46.2 - |