]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SamplePanelPlugin/SamplePanelPlugin_ModelWidget.cpp
Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / SamplePanelPlugin / SamplePanelPlugin_ModelWidget.cpp
index a5cf68391460e25c7831e89599e690fad3646352..ed4625ecc12b26bc3637f80867fbb0d4a11efcaa 100755 (executable)
@@ -29,7 +29,7 @@ SamplePanelPlugin_ModelWidget::SamplePanelPlugin_ModelWidget(QWidget* theParent,
   aLay->addWidget(myMainWidget);
 
   QGridLayout* aLayout = new QGridLayout(myMainWidget);
-  aLayout->addWidget(new QLabel("Values:"), 0, 0);
+  aLayout->addWidget(new QLabel(tr("Values:")), 0, 0);
 
   myComboBox = new QComboBox(myMainWidget);
   myComboBox->addItem("Value_1");
@@ -48,7 +48,7 @@ QList<QWidget*> SamplePanelPlugin_ModelWidget::getControls() const
   return aControls;
 }
 
-bool SamplePanelPlugin_ModelWidget::storeValueCustom() const
+bool SamplePanelPlugin_ModelWidget::storeValueCustom()
 {
   AttributePtr anAttribute = myFeature->attribute(SamplePanelPlugin_Feature::VALUE_ID());
   AttributeIntegerPtr aValueAttribute =