Skip to content
Snippets Groups Projects
Commit 0e39d643 authored by Provot Bertrand's avatar Provot Bertrand
Browse files

bug fix on windows names + effective translation

parent 65ccb765
No related branches found
No related tags found
No related merge requests found
...@@ -196,20 +196,19 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co ...@@ -196,20 +196,19 @@ void QuantificationOp::operator()(const imagein::Image* image, const std::map<co
outText(optiQuant); outText(optiQuant);
} }
outImage(resImg, qApp->translate("QuantificationOp", "quantified").toStdString());
QString windowName; QString windowName;
QString imgName; QString imgName;
if(quantType=="Quantification non lineaire a valeur centrees :") if(quantType=="Quantification non lineaire a valeurs centrees :")
windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a valeur centree")); windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a valeur centree"));
else if(quantType=="Quantification non lineaire a moyennes : ") else if(quantType=="Quantification non lineaire a valeurs moyennes : ")
windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a moyennes")); windowName = QString(qApp->translate("QuantificationOp","Quantification non lineaire a moyennes"));
else if(quantType=="Quantification personnalisée :") else if(quantType=="Quantification personnalisee :")
windowName = QString(qApp->translate("QuantificationOp","Quantification personnalisee")); windowName = QString(qApp->translate("QuantificationOp","Quantification personnalisee"));
else if(quantType=="Quantification LloydMax :") else if(quantType=="Quantification LloydMax :")
windowName = QString(qApp->translate("QuantificationOp","Quantification LloydMax")); windowName = QString(qApp->translate("QuantificationOp","Quantification LloydMax"));
else if(quantType=="Quantification lineaire a valeurs centrees :") else windowName = QString(qApp->translate("QuantificationOp","Quantification lineaire a valeurs centrees"));
windowName = QString(qApp->translate("QuantificationOp","Quantification lineaire a valeurs centrees"));
if(image!=NULL){ if(image!=NULL){
imgName = QString::fromStdString(imgList.find(image)->second); imgName = QString::fromStdString(imgList.find(image)->second);
......
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment