Integrating up through commit 90f050496
This commit is contained in:
@@ -131,7 +131,8 @@ void LevelTreeModel::ReloadTree(QStandardItem* root, bool recurseIfNoLevels)
|
||||
QDir currentDir(parentFullPath);
|
||||
currentDir.setFilter(QDir::NoDot | QDir::NoDotDot | QDir::Dirs);
|
||||
const QStringList subFolders = currentDir.entryList();
|
||||
foreach (const QString &subFolder, subFolders) {
|
||||
foreach (const QString &subFolder, subFolders)
|
||||
{
|
||||
auto child = new QStandardItem(subFolder);
|
||||
child->setData(parentFullPath + "/" + subFolder, FullPathRole);
|
||||
child->setEditable(false);
|
||||
|
||||
Reference in New Issue
Block a user