fix: c++20 deprecate [=]

This commit is contained in:
ppphp
2024-03-30 13:52:02 +08:00
committed by wwmayer
parent 6fbd8916ab
commit da7ee06d67
16 changed files with 21 additions and 21 deletions

View File

@@ -195,7 +195,7 @@ bool DlgSettingsColorGradientImp::isOutInvisible() const
void DlgSettingsColorGradientImp::setRange(float fMin, float fMax)
{
auto toString = [=](float value, int decimals) {
auto toString = [this](float value, int decimals) {
int pos = 0;
while (decimals > 0) {
QString str = QLocale().toString(value, 'g', decimals--);