diff options
Diffstat (limited to 'utils/alsoft-config/mainwindow.cpp')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 79c52a56..63a29714 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -353,7 +353,7 @@ QStringList MainWindow::collectHrtfs() for(int i = 0;i < ui->hrtfFileList->count();i++) { QDir dir(ui->hrtfFileList->item(i)->text()); - QStringList fnames = dir.entryList(QDir::Files | QDir::Readable); + QStringList fnames = dir.entryList(QDir::Files | QDir::Readable, QDir::Name); foreach(const QString &fname, fnames) { if(fname.endsWith(".mhr", Qt::CaseInsensitive)) @@ -383,7 +383,7 @@ QStringList MainWindow::collectHrtfs() foreach(const QString &name, paths) { QDir dir(name); - QStringList fnames = dir.entryList(QDir::Files | QDir::Readable); + QStringList fnames = dir.entryList(QDir::Files | QDir::Readable, QDir::Name); foreach(const QString &fname, fnames) { if(fname.endsWith(".mhr", Qt::CaseInsensitive)) |