Fix MSVC warnings.
This commit is contained in:
parent
777fe6a296
commit
3fad6bc5f9
|
@ -679,7 +679,7 @@ void DialogRotation::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);
|
||||
|
||||
|
@ -701,7 +701,6 @@ void DialogRotation::ShowSourceDetails(int row)
|
|||
|
||||
if (sourceItem.penStyle.isEmpty() || sourceItem.penStyle == TypeLineDefault)
|
||||
{
|
||||
const QSharedPointer<VAbstractCurve> curve = data->GeometricObject<VAbstractCurve>(sourceItem.id);
|
||||
int index = ui->comboBoxPenStyle->currentIndex();
|
||||
ui->comboBoxPenStyle->setItemText(index, '<' + tr("Default") + '>');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user