Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / GLViewer / GLViewer_Object.cxx
index 99ba4263d47d6d4b62cead1f98e13f0e9a475853..fa54128d72b893d4bfc7bc77c445d94b40d9d0f7 100644 (file)
@@ -140,7 +140,7 @@ QByteArray GLViewer_Object::getByteCopy()
     int anISize = sizeof( int );
 
     const char* aTypeStr = myType.toLatin1().constData();
-    const char* aToolTipStr = myToolTipText.toLatin1().constData();
+    const char* aToolTipStr = myToolTipText.toUtf8().constData();
 
     int aTypeLength = myType.length();
     int aToolTipLength = myToolTipText.length();