]> SALOME platform Git repositories - modules/gui.git/blobdiff - tools/PyConsole/src/PyConsole_Request.cxx
Salome HOME
PyInterp prepare for qt6.
[modules/gui.git] / tools / PyConsole / src / PyConsole_Request.cxx
index b6e4cf3de0a4e4c4dd5d4e01e2d9a8c64d1898a8..10ef5fa94a739327a1730fe68b3c400cde7a0374 100644 (file)
@@ -56,7 +56,7 @@ PyConsole_ExecCommand::PyConsole_ExecCommand( PyInterp_Interp*        theInterp,
 void PyConsole_ExecCommand::execute()
 {
   if ( myCommand != "" ) {
-    int ret = getInterp()->run( myCommand.toUtf8().data() );
+    int ret = getInterp()->run(myCommand.toUtf8());
     if ( ret < 0 )
       myState = PyInterp_Event::ES_ERROR;
     else if ( ret > 0 )