Fix MSVC warnings.
This commit is contained in:
parent
3fad6bc5f9
commit
e8621121b3
|
@ -415,7 +415,7 @@ void DialogFlippingByAxis::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);
|
||||
|
||||
|
@ -437,7 +437,6 @@ void DialogFlippingByAxis::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