changeset 1993:64e8701e77b4 import-audio-data

Remove sample range from dialog class now that it's in CSVFormat
author Chris Cannam
date Fri, 07 Sep 2018 18:13:26 +0100
parents 592dceb28ba8
children 692734ef4f40
files main/MainWindow.cpp repoint-lock.json
diffstat 2 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Sep 07 16:55:46 2018 +0100
+++ b/main/MainWindow.cpp	Fri Sep 07 18:13:26 2018 +0100
@@ -2904,8 +2904,6 @@
         }
     }
 
-    CSVAudioFormatDialog::CSVSampleRange range;
-    
     {
         CSVAudioFormatDialog *dialog = new CSVAudioFormatDialog(this, format);
         if (dialog->exec() != QDialog::Accepted) {
@@ -2913,7 +2911,6 @@
             return;
         }
         format = dialog->getFormat();
-        range = dialog->getSampleRange();
         delete dialog;
     }
     
@@ -2921,9 +2918,6 @@
 
     ProgressDialog *progress = new ProgressDialog
         (tr("Importing audio data..."), true, 0, this, Qt::ApplicationModal);
-
-    //!!! + sample range / scaling
-    (void)range;
     
     WaveFileModel *model = qobject_cast<WaveFileModel *>
         (DataFileReaderFactory::loadCSV
--- a/repoint-lock.json	Fri Sep 07 16:55:46 2018 +0100
+++ b/repoint-lock.json	Fri Sep 07 18:13:26 2018 +0100
@@ -4,10 +4,10 @@
       "pin": "da86fb0bccb3"
     },
     "svcore": {
-      "pin": "ffec849858a7"
+      "pin": "ad46f6e80369"
     },
     "svgui": {
-      "pin": "6440ba1ffc86"
+      "pin": "4616e1e89189"
     },
     "svapp": {
       "pin": "0e95c30d6680"