changeset 1517:c5d2de8f7647 time-frequency-boxes

Fix confusion about capture scope with MSVC
author Chris Cannam
date Sat, 21 Sep 2019 19:13:14 +0100
parents e4629d449688
children 2e94c268f7a0
files widgets/ItemEditDialog.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/ItemEditDialog.cpp	Fri Sep 20 14:48:55 2019 +0100
+++ b/widgets/ItemEditDialog.cpp	Sat Sep 21 19:13:14 2019 +0100
@@ -38,9 +38,9 @@
                                QString scaleUnits, QWidget *parent) :
     ItemEditDialog(sampleRate, options,
                    [] (QString units) {
-                       ItemEditDialog::LabelOptions options;
-                       options.valueUnits = units;
-                       return options;
+                       ItemEditDialog::LabelOptions labelOptions;
+                       labelOptions.valueUnits = units;
+                       return labelOptions;
                    }(scaleUnits),
                    parent) {};