Salome HOME
Fix for '23345: [CEA 1930] Wrong display of the unit of degrees' issue.
authorrnv <rnv@opencascade.com>
Thu, 8 Sep 2016 14:29:15 +0000 (17:29 +0300)
committerrnv <rnv@opencascade.com>
Thu, 8 Sep 2016 14:29:15 +0000 (17:29 +0300)
src/OCCViewer/OCCViewer_ClippingDlg.cxx

index 83dcfdb601800c12b53fa38427a3dc9e73729c0b..0805a55f9c108d3811903a350ede0ad2eefb2e3f 100644 (file)
@@ -524,7 +524,7 @@ OCCViewer_ClippingDlg::OCCViewer_ClippingDlg(OCCViewer_ViewWindow* parent , OCCV
   QFont fnt = SpinSliderDistance->font(); fnt.setBold( true ); SpinSliderDistance->setFont( fnt );
   GroupParametersLayout->addWidget( SpinSliderDistance, 1, 1 );
 
-  QString aUnitRot = "\xB0";
+  QString aUnitRot = QString(QChar(0xB0));
 
   TextLabelRotation1 = new QLabel( tr("ROTATION_AROUND_X_Y2Z"), GroupParameters );
   TextLabelRotation1->setObjectName( "TextLabelRotation1" );