mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
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>
This commit is contained in:
parent
16d3998931
commit
de8207696d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ void RecursiveDirModel::slotItemsAdded(const KFileItemList& newList)
|
||||||
if (d->rowForUrl(item.url()) == -1) {
|
if (d->rowForUrl(item.url()) == -1) {
|
||||||
fileList << item;
|
fileList << item;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (item.isReadable()) {
|
||||||
dirUrls << item.url();
|
dirUrls << item.url();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue