diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-05-13 22:06:25 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-05-13 22:06:25 +0000 |
commit | d2f37049cf0b41daa25d1a698c3010a278554956 (patch) | |
tree | 48963ac001869ad31cb671d8a4068f094a35eaed /muse2/muse | |
parent | 99ccbebf8ce4e7070843fff94f2953c2818ca5c8 (diff) |
fclose
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/widgets/unusedwavefiles.cpp | 5 |
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); |