Fix build issues.
This commit is contained in:
parent
c704321d5a
commit
bdd152dd83
|
@ -711,6 +711,7 @@ Module {
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Wno-pragmas",
|
"-Wno-pragmas",
|
||||||
"-Wno-error=strict-overflow",
|
"-Wno-error=strict-overflow",
|
||||||
|
"-Wno-strict-overflow",
|
||||||
"-Wextra"
|
"-Wextra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1087,7 +1087,8 @@ void DialogSeamAllowance::NodeChanged(int index)
|
||||||
const int nodeIndex = piece.GetPath().indexOfNode(uiTabPaths->comboBoxNodes->currentData().toUInt());
|
const int nodeIndex = piece.GetPath().indexOfNode(uiTabPaths->comboBoxNodes->currentData().toUInt());
|
||||||
if (nodeIndex != -1)
|
if (nodeIndex != -1)
|
||||||
{
|
{
|
||||||
const VPieceNode &node = piece.GetPath().at(nodeIndex);
|
const VPiecePath &path = piece.GetPath();
|
||||||
|
const VPieceNode &node = path.at(nodeIndex);
|
||||||
|
|
||||||
// Seam alowance before
|
// Seam alowance before
|
||||||
uiTabPaths->plainTextEditFormulaWidthBefore->setEnabled(true);
|
uiTabPaths->plainTextEditFormulaWidthBefore->setEnabled(true);
|
||||||
|
@ -1192,7 +1193,8 @@ void DialogSeamAllowance::PassmarkChanged(int index)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VPieceNode &node = piece.GetPath().at(nodeIndex);
|
const VPiecePath &path = piece.GetPath();
|
||||||
|
const VPieceNode &node = path.at(nodeIndex);
|
||||||
|
|
||||||
InitPassmarkLengthFormula(node);
|
InitPassmarkLengthFormula(node);
|
||||||
InitPassmarkWidthFormula(node);
|
InitPassmarkWidthFormula(node);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user