Used QChar::fromLatin1('\n') instead

This commit is contained in:
luz.paz
2018-05-02 14:57:49 -04:00
parent 138b318c97
commit 9ba3e0345e

View File

@@ -4238,7 +4238,7 @@ bool SketchObject::increaseBSplineDegree(int GeoId, int degreeincrement /*= 1*/)
bool SketchObject::modifyBSplineKnotMultiplicity(int GeoId, int knotIndex, int multiplicityincr)
{
#if OCC_VERSION_HEX < 0x060900
THROWMT(Base::NotImplementedError, QT_TRANSLATE_NOOP("Exceptions", "This version of OCE/OCC does not support knot operation. You need 6.9.0 or higher") + QString::fromUtf8("\n"))
THROWMT(Base::NotImplementedError, QT_TRANSLATE_NOOP("Exceptions", "This version of OCE/OCC does not support knot operation. You need 6.9.0 or higher") + QChar::fromLatin1('\n'))
#endif
if (GeoId < 0 || GeoId > getHighestCurveIndex())