GH-2154 Ignore 'hidden' flag of insttance folders
This commit is contained in:
parent
06ccff0f47
commit
093dd22826
@ -49,7 +49,7 @@ FolderInstanceProvider::FolderInstanceProvider(SettingsObjectPtr settings, const
|
|||||||
QList< InstanceId > FolderInstanceProvider::discoverInstances()
|
QList< InstanceId > FolderInstanceProvider::discoverInstances()
|
||||||
{
|
{
|
||||||
QList<InstanceId> out;
|
QList<InstanceId> out;
|
||||||
QDirIterator iter(m_instDir, QDir::Dirs | QDir::NoDot | QDir::NoDotDot | QDir::Readable, QDirIterator::FollowSymlinks);
|
QDirIterator iter(m_instDir, QDir::Dirs | QDir::NoDot | QDir::NoDotDot | QDir::Readable | QDir::Hidden, QDirIterator::FollowSymlinks);
|
||||||
while (iter.hasNext())
|
while (iter.hasNext())
|
||||||
{
|
{
|
||||||
QString subDir = iter.next();
|
QString subDir = iter.next();
|
||||||
|
Loading…
Reference in New Issue
Block a user