Initializing a missing member to zero

This commit is contained in:
justburner 2022-02-22 03:59:35 +00:00 committed by manongjohn
parent 39522cf379
commit c2ad261ccb

View file

@ -33,7 +33,10 @@
//========================================================
SchematicName::SchematicName(QGraphicsItem *parent, double width, double height)
: QGraphicsTextItem("", parent), m_width(width), m_height(height) {
: QGraphicsTextItem("", parent)
, m_width(width)
, m_height(height)
, m_noAllSelect(false) {
setFlag(QGraphicsItem::ItemIsSelectable, true);
setFlag(QGraphicsItem::ItemIsFocusable, true);
setTextInteractionFlags(Qt::TextEditorInteraction);