-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
ModuleBase_LabelValue::ModuleBase_LabelValue(QWidget* theParent, const QString& theText,
const QString& theToolTip, const QString& theIcon,
int thePrecision)
-: QWidget(theParent), myPrecision(thePrecision), myValue(0)
+: QWidget(theParent), myValue(0), myPrecision(thePrecision)
{
QHBoxLayout* aLayout = new QHBoxLayout(this);
aLayout->setContentsMargins(2, 0, 0, 0);