From 8d48d3b867f61bcf3077da6e934b9542e759449f Mon Sep 17 00:00:00 2001 From: Mike Walters Date: Thu, 2 Feb 2017 17:25:39 +0000 Subject: [PATCH] Fix file types in open dialog --- spectrogramcontrols.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spectrogramcontrols.cpp b/spectrogramcontrols.cpp index 138f78a..9db76eb 100644 --- a/spectrogramcontrols.cpp +++ b/spectrogramcontrols.cpp @@ -172,11 +172,11 @@ void SpectrogramControls::fileOpenButtonClicked() QSettings settings; QString fileName; QFileDialog fileSelect(this); - fileSelect.setNameFilter(tr("All files (*)", + fileSelect.setNameFilter(tr("All files (*);;" "complex file (*.cfile *.cf32 *.fc32);;" "complex HackRF file (*.cs8 *.sc8 *.c8);;" "complex Fancy file (*.cs16 *.sc16 *.c16);;" - "complex RTL-SDR file (*.cu8 *.uc8);;")); + "complex RTL-SDR file (*.cu8 *.uc8)")); // Try and load a saved state {