aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-02-24 05:08:39 -0800
committerChris Robinson <[email protected]>2016-02-24 05:08:39 -0800
commit99a49122b84d69796e1798d758b2de13292edd0e (patch)
tree9edd6d3d04450f213b7743b21c8c19b1592ce357
parentb6824ca7168d20e7aada4b45a32aa93f48fc689c (diff)
Sort HRTFs in alsoft-config like in the lib
-rw-r--r--utils/alsoft-config/mainwindow.cpp4
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))