diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-07-19 10:38:56 +0100 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-07-19 10:38:56 +0100 |
commit | 58c2059e10a52ff0cb4481fdb14f512b198de964 (patch) | |
tree | 300e3294604f6102aaf348decd4c98a9492af58f /launcher | |
parent | 97662f5c8ecdf32403939e427c74310f9175fb9e (diff) | |
download | PrismLauncher-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.cpp | 2 |
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()); |