fix Coverity issues
This commit is contained in:
@@ -192,9 +192,9 @@ TaskDatumParameters::TaskDatumParameters(ViewProviderDatum *DatumView,QWidget *p
|
||||
ui->lineRef4->blockSignals(false);
|
||||
ui->listOfModes->blockSignals(false);
|
||||
|
||||
this->iActiveRef = 0;
|
||||
if (pcDatum->Support.getSize() == 0){
|
||||
autoNext = true;
|
||||
this->iActiveRef = 0;
|
||||
} else {
|
||||
autoNext = false;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ using namespace Gui;
|
||||
|
||||
TaskPocketParameters::TaskPocketParameters(ViewProviderPocket *PocketView,QWidget *parent, bool newObj)
|
||||
: TaskSketchBasedParameters(PocketView, parent, "PartDesign_Pocket",tr("Pocket parameters"))
|
||||
, oldLength(0)
|
||||
{
|
||||
// we need a separate container widget to add all controls to
|
||||
proxy = new QWidget(this);
|
||||
|
||||
Reference in New Issue
Block a user