ignore ".." and "." subdirectories
This commit is contained in:
parent
76b6ff4b7e
commit
9754130ec8
@ -535,7 +535,7 @@ void MainWindow::loadObjects()
|
||||
{
|
||||
QDir d(dirPath);
|
||||
bool recursive = false;
|
||||
if(d.entryList(QDir::AllDirs).size())
|
||||
if(d.entryList(QDir::AllDirs | QDir::NoDotAndDotDot).size())
|
||||
{
|
||||
QMessageBox::StandardButton b = QMessageBox::question(
|
||||
this,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user