Switching Quantity parser to UTF8

This commit is contained in:
jriegel
2013-12-09 23:49:42 +01:00
parent 8a923bac76
commit f265f551c2
9 changed files with 12 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ void InputField::newInput(const QString & text)
{
Quantity res;
try{
res = Quantity::parse(text.toAscii());
res = Quantity::parse(text);
}catch(Base::Exception &e){
ErrorText = e.what();
this->setToolTip(QString::fromAscii(ErrorText.c_str()));