aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpplistwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/qmpplistwindow.cpp')
-rw-r--r--qmidiplayer-desktop/qmpplistwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpplistwindow.cpp b/qmidiplayer-desktop/qmpplistwindow.cpp
index 3a1062e..aa708ae 100644
--- a/qmidiplayer-desktop/qmpplistwindow.cpp
+++ b/qmidiplayer-desktop/qmpplistwindow.cpp
@@ -192,7 +192,8 @@ void qmpPlistWindow::on_pbAddFolder_clicked()
while (di.hasNext())
{
QString c = di.next();
- if ((c.endsWith(".mid") || c.endsWith(".midi") || c.endsWith(".rmi")) && fluid_is_midifile(c.toStdString().c_str()))
+ //TODO: use file readers to do this check?
+ if ((c.endsWith(".mid") || c.endsWith(".midi") || c.endsWith(".rmi")))
ui->lwFiles->addItem(new QListWidgetItem(c));
}
}