aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-19 10:38:56 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-07-19 10:38:56 +0100
commit58c2059e10a52ff0cb4481fdb14f512b198de964 (patch)
tree300e3294604f6102aaf348decd4c98a9492af58f /launcher
parent97662f5c8ecdf32403939e427c74310f9175fb9e (diff)
downloadPrismLauncher-58c2059e10a52ff0cb4481fdb14f512b198de964.tar.gz
PrismLauncher-58c2059e10a52ff0cb4481fdb14f512b198de964.tar.bz2
PrismLauncher-58c2059e10a52ff0cb4481fdb14f512b198de964.zip
Remove recursion
It will add icon packs which aren't available - as QIcon's search paths are not recursed! Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/themes/ThemeManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/themes/ThemeManager.cpp b/launcher/ui/themes/ThemeManager.cpp
index 3453a246..5e0fa580 100644
--- a/launcher/ui/themes/ThemeManager.cpp
+++ b/launcher/ui/themes/ThemeManager.cpp
@@ -85,7 +85,7 @@ void ThemeManager::initializeIcons()
themeDebugLog() << "Loaded Built-In Icon Theme" << id;
}
- QDirIterator directoryIterator(themeFolder, QDir::Dirs | QDir::NoDotAndDotDot, QDirIterator::Subdirectories);
+ QDirIterator directoryIterator(themeFolder, QDir::Dirs | QDir::NoDotAndDotDot);
while (directoryIterator.hasNext()) {
QDir dir(directoryIterator.next());
IconTheme theme(dir.dirName(), dir.path());