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

[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: https://phabricator.kde.org/D13260
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);
dir.setNameFilters(suffixes());
KPackage::Package package = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Wallpaper/Images"));
......
Markdown is supported
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