Mercurial > hg > svgui
comparison widgets/ItemEditDialog.cpp @ 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 | 0fa49a6ce64f |
children |
comparison
equal
deleted
inserted
replaced
1516:e4629d449688 | 1517:c5d2de8f7647 |
---|---|
36 | 36 |
37 ItemEditDialog::ItemEditDialog(sv_samplerate_t sampleRate, int options, | 37 ItemEditDialog::ItemEditDialog(sv_samplerate_t sampleRate, int options, |
38 QString scaleUnits, QWidget *parent) : | 38 QString scaleUnits, QWidget *parent) : |
39 ItemEditDialog(sampleRate, options, | 39 ItemEditDialog(sampleRate, options, |
40 [] (QString units) { | 40 [] (QString units) { |
41 ItemEditDialog::LabelOptions options; | 41 ItemEditDialog::LabelOptions labelOptions; |
42 options.valueUnits = units; | 42 labelOptions.valueUnits = units; |
43 return options; | 43 return labelOptions; |
44 }(scaleUnits), | 44 }(scaleUnits), |
45 parent) {}; | 45 parent) {}; |
46 | 46 |
47 ItemEditDialog::ItemEditDialog(sv_samplerate_t sampleRate, int options, | 47 ItemEditDialog::ItemEditDialog(sv_samplerate_t sampleRate, int options, |
48 LabelOptions labelOptions, QWidget *parent) : | 48 LabelOptions labelOptions, QWidget *parent) : |