Salome HOME
Merge Qt5 porting.
[modules/gui.git] / src / GLViewer / GLViewer_Widget.cxx
index ac60a1f8d2f05ba161db20b654da06ffa8b502de..cec19f953d7df275a938ad7d44fe884b347f5836 100644 (file)
@@ -495,7 +495,7 @@ void AddImagePart( QFile& hFile, QImage& image, int w1, int w2, int h1, int h2,
     
     aBuffer += "> false 3 colorimage\n\n";
 
-    hFile.write( aBuffer.toAscii() );
+    hFile.write( aBuffer.toLatin1() );
   }
 }