summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/muse/widgets/unusedwavefiles.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/widgets/unusedwavefiles.cpp b/muse2/muse/widgets/unusedwavefiles.cpp
index 7cba1bd5..5a2e620b 100644
--- a/muse2/muse/widgets/unusedwavefiles.cpp
+++ b/muse2/muse/widgets/unusedwavefiles.cpp
@@ -25,7 +25,7 @@ UnusedWaveFiles::UnusedWaveFiles(QWidget *parent) :
void UnusedWaveFiles::findWaveFiles()
{
ui->filelistWidget->clear();
- printf("museProject =%s\n", museProject.toLatin1().data());
+ //printf("museProject =%s\n", museProject.toLatin1().data());
// QFileInfo proj(museProject);
// QString projPath = proj.absolutePath();
QDir dir(museProject);
@@ -40,7 +40,7 @@ void UnusedWaveFiles::findWaveFiles()
if (ui->currentProjRadioButton->isChecked()) {
medFiles.append(muse->projectName());
} else {
- printf("get ALLL *.med files!\n");
+ //printf("get ALLL *.med files!\n");
QStringList medFilter("*.med");
medFiles = dir.entryList(medFilter);
}
@@ -63,6 +63,7 @@ void UnusedWaveFiles::findWaveFiles()
}
}
}
+ fclose(fp);
}
ui->filelistWidget->addItems(allWaveFiles);