From 2801ebbfcc65d67d37a58849d1f2abb9a2c5c4bb Mon Sep 17 00:00:00 2001 From: Mike Walters Date: Mon, 31 Aug 2015 23:21:47 +0100 Subject: [PATCH] Fix wildcard for all files in file picker --- spectrogram.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spectrogram.cpp b/spectrogram.cpp index 5356110..59172b8 100644 --- a/spectrogram.cpp +++ b/spectrogram.cpp @@ -32,7 +32,7 @@ QSize Spectrogram::sizeHint() const { void Spectrogram::pickFile() { QString fileName = QFileDialog::getOpenFileName( - this, tr("Open File"), "", tr("Sample file (*.cfile *.bin);;All files (*.*)") + this, tr("Open File"), "", tr("Sample file (*.cfile *.bin);;All files (*)") ); if (fileName != nullptr) { try { @@ -243,4 +243,4 @@ off_t Spectrogram::lineToSample(int line) { QString Spectrogram::sampleToTime(off_t sample) { return QString::number((float)sample / sampleRate).append("s"); -} \ No newline at end of file +}