summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-05-13 22:06:25 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-05-13 22:06:25 +0000
commitd2f37049cf0b41daa25d1a698c3010a278554956 (patch)
tree48963ac001869ad31cb671d8a4068f094a35eaed
parent99ccbebf8ce4e7070843fff94f2953c2818ca5c8 (diff)
fclose
-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);