Skip to content

Commit

Permalink
Initialize new attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoudot committed Mar 6, 2024
1 parent 8ceb786 commit 877af78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/QtUtil/QtDoubleTextField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,24 @@ USE_ENCODING_AUTODETECTION

QtDoubleTextField::QtDoubleTextField (QWidget* parent, bool autoValidation, const char* name)
: QtValidatedTextField (parent, autoValidation, name)
, _keepIosBaseDefault(false)
{
createGui ( );
} // QtDoubleTextField::QtDoubleTextField


QtDoubleTextField::QtDoubleTextField (double value, QWidget* parent, bool autoValidation, const char* name)
: QtValidatedTextField (parent, autoValidation, name)
, _keepIosBaseDefault(false)
{
createGui ( );
setValue (value);
} // QtDoubleTextField::QtDoubleTextField


QtDoubleTextField::QtDoubleTextField (const QtDoubleTextField&)
QtDoubleTextField::QtDoubleTextField (const QtDoubleTextField& field)
: QtValidatedTextField (0, 0)
, _keepIosBaseDefault(field._keepIosBaseDefault)
{
assert (0 && "QtDoubleTextField::QtDoubleTextField is not allowed.");
} // QtDoubleTextField::QtDoubleTextField (const QtDoubleTextField&)
Expand Down

0 comments on commit 877af78

Please sign in to comment.