]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix run-time errors during debug of Windows version
authorabd <abd@opencascade.com>
Mon, 21 Apr 2008 11:41:34 +0000 (11:41 +0000)
committerabd <abd@opencascade.com>
Mon, 21 Apr 2008 11:41:34 +0000 (11:41 +0000)
src/VISU_I/VISU_ResultUtils.cc

index 8caa8bf8296027284d9235a87ced3f7de8f72c3b..ba5ad464064950e096ca17ba8fd4a4efd1c573bf 100644 (file)
@@ -174,7 +174,7 @@ namespace VISU
               const void* thePointer)
   {
     std::ostringstream aStream;    
-    aStream<<theName<<":"<<thePointer;
+    aStream<<theName<<"_"<<thePointer;
     return aStream.str();
   }
   
@@ -657,8 +657,8 @@ namespace VISU
     QString aCommand;
     aCommand.sprintf("%s %s %s",
                     COPY_COMMAND,
-                    aSourceFileInfo.filePath().latin1(),
-                    aTargetFileInfo.filePath().latin1());
+         QDir::convertSeparators(aSourceFileInfo.filePath()).latin1(),
+                    QDir::convertSeparators(aTargetFileInfo.filePath()).latin1());
 
     return system(aCommand.latin1()) == 0;
   }