aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/themes
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-19 12:27:02 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-19 12:27:02 +0300
commitb7bccb905829eebea039a32edf93606f5fc5defa (patch)
treec30d09e1b72e74fae3830fbbec514b236cc0bf51 /launcher/ui/themes
parentf046bd7d500c16f530db48f9da5b0809a02b7519 (diff)
downloadPrismLauncher-b7bccb905829eebea039a32edf93606f5fc5defa.tar.gz
PrismLauncher-b7bccb905829eebea039a32edf93606f5fc5defa.tar.bz2
PrismLauncher-b7bccb905829eebea039a32edf93606f5fc5defa.zip
removed subdirectory flag
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/themes')
-rw-r--r--launcher/ui/themes/ThemeManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/themes/ThemeManager.cpp b/launcher/ui/themes/ThemeManager.cpp
index 9ed8e129..321f7db4 100644
--- a/launcher/ui/themes/ThemeManager.cpp
+++ b/launcher/ui/themes/ThemeManager.cpp
@@ -84,7 +84,7 @@ void ThemeManager::initializeThemes()
QString themeFolder = QDir("./themes/").absoluteFilePath("");
themeDebugLog() << "Theme Folder Path: " << themeFolder;
- QDirIterator directoryIterator(themeFolder, QDir::Dirs | QDir::NoDotAndDotDot, QDirIterator::Subdirectories);
+ QDirIterator directoryIterator(themeFolder, QDir::Dirs | QDir::NoDotAndDotDot);
while (directoryIterator.hasNext()) {
QDir dir(directoryIterator.next());
QFileInfo themeJson(dir.absoluteFilePath("theme.json"));
@@ -208,7 +208,7 @@ void ThemeManager::initializeCatPacks()
loadFiles(catpacksDir);
- QDirIterator directoryIterator(catpacksFolder, QDir::Dirs | QDir::NoDotAndDotDot, QDirIterator::Subdirectories);
+ QDirIterator directoryIterator(catpacksFolder, QDir::Dirs | QDir::NoDotAndDotDot);
while (directoryIterator.hasNext()) {
QDir dir(directoryIterator.next());
QFileInfo manifest(dir.absoluteFilePath("catpack.json"));