Fix MSVC warnings.

This commit is contained in:
Roman Telezhynskyi 2023-03-09 08:20:40 +02:00
parent 16b67644b0
commit 6d34b6af13
2 changed files with 3 additions and 2 deletions

View file

@ -788,7 +788,8 @@ Module {
"-wd4458", // declaration of 'X' hides class member
"-wd4456", // declaration of 'X' hides previous local declaration
"-wd4459", // declaration of 'X' hides global declaration
"-wd4457" // declaration of 'X' hides function parameter
"-wd4457", // declaration of 'X' hides function parameter
"-wd4125" // decimal digit terminates octal escape sequence
)
}
return debugFlags;

View file

@ -608,7 +608,7 @@ void DialogMove::ShowSourceDetails(int row)
{
ui->labelAlias->setText(tr("Alias:"));
auto SetValue = [sourceItem](QComboBox *box, const QString &value, const QString &def)
auto SetValue = [](QComboBox *box, const QString &value, const QString &def)
{
box->blockSignals(true);