Do not use C++11 utf8 strings - not supported by VC2013.
This commit is contained in:
@@ -45,8 +45,8 @@ QString UnitsSchemaMmMin::schemaTranslate(const Quantity &quant, double &factor,
|
||||
factor = 1.0;
|
||||
}
|
||||
else if (unit == Unit::Angle) {
|
||||
//unitString = QString::fromUtf8("\xC2\xB0");
|
||||
unitString = QString::fromUtf8(u8"\u00B0");
|
||||
unitString = QString::fromUtf8("\xC2\xB0");
|
||||
//unitString = QString::fromUtf8(u8"\u00B0"); //C++11 - Not supported by VS2013
|
||||
factor = 1.0;
|
||||
}
|
||||
else if (unit == Unit::Velocity) {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "UnitsSchema.h"
|
||||
|
||||
namespace Base {
|
||||
|
||||
|
||||
|
||||
/* Metric units schema intended for design of small parts and for CNC
|
||||
* Lengths are alwais in mm.
|
||||
|
||||
Reference in New Issue
Block a user