Remove u8 literals for Win compatibility
This commit is contained in:
committed by
Yorik van Havre
parent
64e7f47eee
commit
42820cc179
@@ -363,9 +363,9 @@ QString UnitsSchemaImperialCivil::schemaTranslate(const Base::Quantity& quant, d
|
||||
// this schema expresses angles in degrees + minutes + seconds
|
||||
else if (unit == Unit::Angle) {
|
||||
unitString = QString::fromUtf8("deg");
|
||||
QString degreeString = QString::fromUtf8(u8"\xC2\xB0"); //degree symbol
|
||||
QString minuteString = QString::fromUtf8(u8"\xE2\x80\xB2"); //prime symbol
|
||||
QString secondString = QString::fromUtf8(u8"\xE2\x80\xB3"); //double prime symbol
|
||||
QString degreeString = QString::fromUtf8("\xC2\xB0"); //degree symbol
|
||||
QString minuteString = QString::fromUtf8("\xE2\x80\xB2"); //prime symbol
|
||||
QString secondString = QString::fromUtf8("\xE2\x80\xB3"); //double prime symbol
|
||||
factor = 1.0; //1deg = 1"\xC2\xB0 "
|
||||
|
||||
double totalDegrees = quant.getValue()/factor;
|
||||
|
||||
Reference in New Issue
Block a user