Salome HOME
Copyright update 2020
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_CreatePatternDlg.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 6627b41..e501d95
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -105,7 +105,7 @@ SMESHGUI_CreatePatternDlg::SMESHGUI_CreatePatternDlg( SMESHGUI*   theModule,
 
   aDlgLay->setStretchFactor( aMainFrame, 1 );
 
-  myHelpFileName = "pattern_mapping_page.html";
+  myHelpFileName = "pattern_mapping.html";
 
   Init( theType );
 }
@@ -244,7 +244,7 @@ SMESHGUI_CreatePatternDlg::~SMESHGUI_CreatePatternDlg()
 
 //=======================================================================
 // function : onProject()
-// purpose  : SLOT. Called when state of "Project nodes on ther face"
+// purpose  : SLOT. Called when state of "Project nodes on other face"
 //            checkbox is changed
 //=======================================================================
 void SMESHGUI_CreatePatternDlg::onProject( bool )
@@ -399,7 +399,7 @@ void SMESHGUI_CreatePatternDlg::onSave()
 
     QFile aFile( fName );
     aFile.open( QIODevice::WriteOnly );
-    long aWritten = aFile.write( aData.toLatin1(), aLen );
+    long aWritten = aFile.write( aData.toUtf8(), aLen );
     aFile.close();
 
     if ( aWritten != aLen ) {
@@ -622,7 +622,7 @@ void SMESHGUI_CreatePatternDlg::onSelectionDone()
 
 //=======================================================================
 // function : onDeactivate()
-// purpose  : SLOT called when dialog must be deativated
+// purpose  : SLOT called when dialog must be deactivated
 //=======================================================================
 void SMESHGUI_CreatePatternDlg::onDeactivate()
 {
@@ -636,7 +636,7 @@ void SMESHGUI_CreatePatternDlg::onDeactivate()
 //=======================================================================
 void SMESHGUI_CreatePatternDlg::enterEvent( QEvent* )
 {
-  // there is a stange problem that enterEvent() comes after onSave()
+  // there is a strange problem that enterEvent() comes after onSave()
   if ( isVisible () ) {
     mySMESHGUI->EmitSignalDeactivateDialog();
     setEnabled( true );