]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
SWP12792: convert sepeartors for file paths depending on current platform
authorskt <skt@opencascade.com>
Mon, 7 Aug 2006 08:42:05 +0000 (08:42 +0000)
committerskt <skt@opencascade.com>
Mon, 7 Aug 2006 08:42:05 +0000 (08:42 +0000)
src/Qtx/QtxListResourceEdit.cxx

index 3b93b846f9f13eb2ce12467b65254cc9fbae2777..26fab8b570e36a2a149a2b59db23b8ec412687ac 100644 (file)
@@ -1689,7 +1689,8 @@ void QtxListResourceEdit::FileItem::onOpenFile()
 
   if( myFileDlg->exec()==QDialog::Accepted )
   {
-    myFile->setText( myFileDlg->selectedFile() ); 
+               QString selFile = QDir::convertSeparators( myFileDlg->selectedFile() );
+    myFile->setText( selFile ); 
   }
 }