Commit graph

9 commits

Author SHA1 Message Date
Ivailo Monev
2c90b02a32 gwenview: stabilize the RecursiveDirModel test
note that this race that was observed by the author of the test will happen
outside the test - if files are created while the KDirLister is listing
(because an automatic update was issued for example) some files may not be
listed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-05 01:13:15 +03:00
Ivailo Monev
c55b482da9 gwenview: use the new recursive listing feature of KDirLister
requires the following commit from kdelibs:
5d60973ab442fb6c3ccad7027d96da18f4fdeaea

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-04 22:27:23 +03:00
Ivailo Monev
de8207696d gwenview: do not list non-readable directories from RecrusiveDirModel
directores such as "lost+found" may not be readable, if the main directory
is not readable an error will be shown still (as it should be).

requires 268eac6790195fe72afeb8525f930e289276eaf9 from kdelibs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-04 16:09:21 +03:00
Ivailo Monev
1734f0498e gwenview: clear the dir listers list on reset
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 21:19:34 +03:00
Ivailo Monev
238f7ca13d gwenview: fix RecursiveDirModel regression
not sure if I want to keep it tho, I can already see it choke on symlinks
because they are not tracked

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 17:25:28 +03:00
Ivailo Monev
8dde8e8783 gwenview: adjust to KDirLister changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 13:46:14 +03:00
Ivailo Monev
3ea4bbd312 gwenview: adjust to KDirLister changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-01 06:17:05 +03:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
bf2d9dcd05 import a bunch of important libraries and applications 2014-11-19 02:23:05 +00:00