PVS: V730 Not all members of a class are initialized inside the constructor
This commit is contained in:
@@ -49,7 +49,7 @@ class FemGuiExport FunctionWidget : public QWidget {
|
||||
|
||||
Q_OBJECT
|
||||
public:
|
||||
FunctionWidget() {}
|
||||
FunctionWidget() : m_block(false), m_view(0), m_object(0) {}
|
||||
virtual ~FunctionWidget() {}
|
||||
|
||||
virtual void applyPythonCode() = 0;
|
||||
|
||||
@@ -947,7 +947,8 @@ void PartGui::goSetupResultUnorientableShapeFace(ResultEntry *entry)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
TaskCheckGeometryDialog::TaskCheckGeometryDialog() : widget(0), contentLabel(0)
|
||||
TaskCheckGeometryDialog::TaskCheckGeometryDialog()
|
||||
: widget(0), contentLabel(0), okBtn(0), settingsBtn(0), resultsBtn(0)
|
||||
{
|
||||
ParameterGrp::handle group = App::GetApplication().GetUserParameter().
|
||||
GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod")->GetGroup("Part")->GetGroup("CheckGeometry");
|
||||
|
||||
@@ -38,6 +38,7 @@ TYPESYSTEM_SOURCE(Path::Tooltable , Base::Persistence)
|
||||
|
||||
Tooltable::Tooltable()
|
||||
{
|
||||
Version = 0;
|
||||
}
|
||||
|
||||
Tooltable::~Tooltable()
|
||||
|
||||
@@ -172,6 +172,7 @@ struct EditData {
|
||||
EditData():
|
||||
sketchHandler(0),
|
||||
buttonPress(false),
|
||||
handleEscapeButton(false),
|
||||
DragPoint(-1),
|
||||
DragCurve(-1),
|
||||
PreselectPoint(-1),
|
||||
|
||||
@@ -342,6 +342,7 @@ TYPESYSTEM_SOURCE(TechDraw::CosmeticEdge,Base::Persistence)
|
||||
CosmeticEdge::CosmeticEdge()
|
||||
{
|
||||
// Base::Console().Message("CE::CE()\n");
|
||||
permaRadius = 0.0;
|
||||
m_geometry = new TechDraw::BaseGeom();
|
||||
initialize();
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ class DrawViewPart;
|
||||
|
||||
class TechDrawExport hTrimCurve {
|
||||
public:
|
||||
hTrimCurve() {}
|
||||
hTrimCurve() : first(0.0), last(0.0) {}
|
||||
hTrimCurve(Handle(Geom2d_Curve) hCurveIn,
|
||||
double parm1,
|
||||
double parm2);
|
||||
|
||||
@@ -129,7 +129,7 @@ private:
|
||||
class incidenceItem
|
||||
{
|
||||
public:
|
||||
incidenceItem() {}
|
||||
incidenceItem() {iEdge = 0; angle = 0.0;}
|
||||
incidenceItem(int idx, double a, edge_t ed) {iEdge = idx; angle = a; eDesc = ed;}
|
||||
~incidenceItem() {}
|
||||
static bool iiCompare(const incidenceItem& i1, const incidenceItem& i2);
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
using namespace TechDrawGui;
|
||||
|
||||
QGCustomText::QGCustomText(QGraphicsItem* parent) :
|
||||
QGraphicsTextItem(parent)
|
||||
QGraphicsTextItem(parent), isHighlighted(false)
|
||||
{
|
||||
setCacheMode(QGraphicsItem::NoCache);
|
||||
setAcceptHoverEvents(false);
|
||||
|
||||
@@ -88,7 +88,7 @@ using namespace TechDrawGui;
|
||||
//**************************************************************
|
||||
QGIRichAnno::QGIRichAnno(QGraphicsItem* myParent,
|
||||
TechDraw::DrawRichAnno* anno) :
|
||||
m_isExporting(false)
|
||||
m_isExporting(false), m_hasHover(false)
|
||||
{
|
||||
setHandlesChildEvents(false);
|
||||
setAcceptHoverEvents(false);
|
||||
|
||||
Reference in New Issue
Block a user