EngNumberValidator: QString now wraps characters in QChar

This commit is contained in:
Joel Holdsworth 2014-04-18 20:32:32 +01:00
parent ba6bd4f202
commit f5a85c91d9
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ EngNumberValidator::value( const QString & string )
{
double factor = 1.;
switch (string[string.length()-1])
switch (string[string.length()-1].toAscii())
{
case 'm':
factor = 1e-3;