diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-09 17:14:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-10 03:18:58 +0100 |
commit | 7d101a1c2827b5e7a373fb0d0a68099fb692e55a (patch) | |
tree | 3489a2988806a02a9ef31760116de104f94582c6 /filter-ewma2 | |
parent | 674c8a9f1a42b36940551a6ebaf953ad96d379d0 (diff) |
many: spring cleanup
Diffstat (limited to 'filter-ewma2')
-rw-r--r-- | filter-ewma2/ftnoir_filter_ewma2_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp b/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp index da572ce4..966473cf 100644 --- a/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp +++ b/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp @@ -20,13 +20,13 @@ dialog_ewma::dialog_ewma() tie_setting(s.kSmoothingScaleCurve, ui.powCurve); tie_setting(s.kSmoothingScaleCurve, ui.curve_label, - [](auto& x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2); }); + [](double x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2); }); tie_setting(s.kMinSmoothing, ui.min_label, - [](auto& x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2);}); + [](double x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2);}); tie_setting(s.kMaxSmoothing, ui.max_label, - [](auto& x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2);}); + [](double x) { return QStringLiteral("%1%").arg(x * 100, 0, 'f', 2);}); connect(ui.minSmooth, &QSlider::valueChanged, this, [&](int v) -> void { if (ui.maxSmooth->value() < v) ui.maxSmooth->setValue(v); }); |