From e705ba5d9a9aa2b387a6195898404c9e9e163f60 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Fri, 10 Apr 2020 11:27:42 +0200 Subject: [PATCH 1/2] remove unused variable. --- src/musredit_qt5/mupp/Pmupp.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/musredit_qt5/mupp/Pmupp.cpp b/src/musredit_qt5/mupp/Pmupp.cpp index 22ba68b4..382f6c20 100644 --- a/src/musredit_qt5/mupp/Pmupp.cpp +++ b/src/musredit_qt5/mupp/Pmupp.cpp @@ -262,7 +262,6 @@ bool PParamDataHandler::analyzeFileList(const QStringList &fln, QString &collect bool PParamDataHandler::ReadParamFile(const QStringList fln, QString &errorMsg) { bool valid = true; - PmuppRun run; PmuppCollection collection; QString collName(""); From 90db9144febfbd3103e6c3881add57a4179773d9 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Fri, 10 Apr 2020 11:30:34 +0200 Subject: [PATCH 2/2] fixes issue #24 reported on bitbucket. --- src/musredit_qt5/mupp/PmuppGui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/musredit_qt5/mupp/PmuppGui.cpp b/src/musredit_qt5/mupp/PmuppGui.cpp index b0b11ccc..95f0ea9f 100644 --- a/src/musredit_qt5/mupp/PmuppGui.cpp +++ b/src/musredit_qt5/mupp/PmuppGui.cpp @@ -990,9 +990,11 @@ void PmuppGui::remove() updateXYList(fColList->currentRow()); // if there no collections left remove all the parameters from the X/Y list + // remove all fXY as well if (fColList->count() == 0) { fViewX->clear(); fViewY->clear(); + fXY.clear(); return; }