From 1afebf618972ce4f4ec2085357e07c69b100176e Mon Sep 17 00:00:00 2001 From: Cappy Ishihara <38139192+korewaChino@users.noreply.github.com> Date: Tue, 17 Aug 2021 17:32:51 +0700 Subject: [PATCH] search for all backgrounds recursively --- src/background.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background.cpp b/src/background.cpp index ce47a30..8ea466e 100644 --- a/src/background.cpp +++ b/src/background.cpp @@ -4,7 +4,7 @@ static QVariantList getBackgroundPaths() { QVariantList list; - QDirIterator it("/usr/share/backgrounds/cutefishos", QStringList() << "*.jpg" << "*.png", QDir::Files, QDirIterator::Subdirectories); + QDirIterator it("/usr/share/backgrounds/", QStringList() << "*.jpg" << "*.png", QDir::Files, QDirIterator::Subdirectories); while (it.hasNext()) { QString bg = it.next(); list.append(QVariant(bg));