Skip to content

Commit

Permalink
Merge pull request #1962 from ashemedai/ignore_cache_instance
Browse files Browse the repository at this point in the history
Ignore Qt-created 'cache' directory in list of instances.
  • Loading branch information
Holt59 authored Jan 1, 2024
2 parents 45c017d + 4472df8 commit 5adb1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instancemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ QString InstanceManager::iniPath(const QString& instanceDir) const

std::vector<QString> InstanceManager::globalInstancePaths() const
{
const std::set<QString> ignore = {"qtwebengine"};
const std::set<QString> ignore = {"cache", "qtwebengine"};

const QDir root(globalInstancesRootPath());
const auto dirs = root.entryList(QDir::Dirs | QDir::NoDotAndDotDot);
Expand Down

0 comments on commit 5adb1ec

Please sign in to comment.