GUI: More strict filtering for finding project file.
This commit is contained in:
parent
8bfbf82bdc
commit
f12b27f360
|
@ -366,6 +366,7 @@ void MainWindow::CheckDirectory()
|
|||
QDir checkDir(dir[0]);
|
||||
QStringList filters;
|
||||
filters << "*.cppcheck";
|
||||
checkDir.setFilter(QDir::Files | QDir::Readable);
|
||||
checkDir.setNameFilters(filters);
|
||||
QStringList projFiles = checkDir.entryList();
|
||||
if (!projFiles.empty())
|
||||
|
|
Loading…
Reference in New Issue