changeset 2435:f40cd7a512d4 spectrogram-export

Start work on spectrogram export code
author Chris Cannam
date Mon, 06 Jan 2020 14:49:48 +0000
parents 43ac4c02efe9
children a2ad8c16b46d
files main/MainWindow.cpp main/OSCHandler.cpp repoint-lock.json repoint-project.json
diffstat 4 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Dec 12 17:25:51 2019 +0000
+++ b/main/MainWindow.cpp	Mon Jan 06 14:49:48 2020 +0000
@@ -3022,7 +3022,7 @@
 
     QString error;
 
-    if (!exportLayerTo(layer, path, error)) {
+    if (!exportLayerTo(layer, pane, path, error)) {
         QMessageBox::critical(this, tr("Failed to write file"), error);
     } else {
         m_recentFiles.addFile(path);
--- a/main/OSCHandler.cpp	Thu Dec 12 17:25:51 2019 +0000
+++ b/main/OSCHandler.cpp	Mon Jan 06 14:49:48 2020 +0000
@@ -134,7 +134,7 @@
                 if (currentPane) currentLayer = currentPane->getSelectedLayer();
                 if (currentLayer) {
                     QString error;
-                    if (!exportLayerTo(currentLayer, path, error)) {
+                    if (!exportLayerTo(currentLayer, currentPane, path, error)) {
                         SVCERR << "OSCHandler: Failed to export current layer to " << path << ": " << error << endl;
                     }
                 } else {
--- a/repoint-lock.json	Thu Dec 12 17:25:51 2019 +0000
+++ b/repoint-lock.json	Mon Jan 06 14:49:48 2020 +0000
@@ -7,10 +7,10 @@
       "pin": "ee3b248bda25"
     },
     "svgui": {
-      "pin": "76e4302a3fc2"
+      "pin": "a0b2f3b4dd2f"
     },
     "svapp": {
-      "pin": "55f317633b93"
+      "pin": "453029d6e9bf"
     },
     "checker": {
       "pin": "87908a5d6c88"
--- a/repoint-project.json	Thu Dec 12 17:25:51 2019 +0000
+++ b/repoint-project.json	Mon Jan 06 14:49:48 2020 +0000
@@ -20,11 +20,13 @@
         },
         "svgui": {
             "vcs": "hg",
-            "service": "soundsoftware"
+            "service": "soundsoftware",
+            "branch": "spectrogram-export"
         },
         "svapp": {
             "vcs": "hg",
-	    "service": "soundsoftware"
+	    "service": "soundsoftware",
+            "branch": "spectrogram-export"
         },
         "checker": {
             "vcs": "hg",