Commit b39522e9 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Slideshow Wallpaper] Ignore hidden files and folders

They are usually hidden for a reason and shouldn't show up in the slideshow.

BUG: 394882
FIXED-IN: 5.12.6

Differential Revision:
parent 61c5a248
......@@ -547,7 +547,7 @@ void BackgroundFinder::run()
QStringList papersFound;
QDir dir;
dir.setFilter(QDir::AllDirs | QDir::Files | QDir::Hidden | QDir::Readable);
dir.setFilter(QDir::AllDirs | QDir::Files | QDir::Readable);
KPackage::Package package = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Wallpaper/Images"));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment