Commit 54d5557c authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Remove redundant suffix code for scale input field

The .cpp file called setSuffix(), but the suffix was already
set in the corresponding .ui file. And the .ui file had
proper i18n handling, while the .cpp file did not.
parent 6afcc0dc
...@@ -133,8 +133,6 @@ KisToolTransformConfigWidget::KisToolTransformConfigWidget(TransformTransactionP ...@@ -133,8 +133,6 @@ KisToolTransformConfigWidget::KisToolTransformConfigWidget(TransformTransactionP
translateYBox->setRange(-10000, 10000); translateYBox->setRange(-10000, 10000);
scaleXBox->setSuffix("%");
scaleYBox->setSuffix("%");
scaleXBox->setRange(-10000, 10000); scaleXBox->setRange(-10000, 10000);
scaleYBox->setRange(-10000, 10000); scaleYBox->setRange(-10000, 10000);
scaleXBox->setValue(100.0); scaleXBox->setValue(100.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment