From: skt Date: Mon, 7 Aug 2006 08:42:05 +0000 (+0000) Subject: SWP12792: convert sepeartors for file paths depending on current platform X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef5c78e5babc8d1efab1858cfb01c9d8fe7438d7;p=modules%2Fgui.git SWP12792: convert sepeartors for file paths depending on current platform --- diff --git a/src/Qtx/QtxListResourceEdit.cxx b/src/Qtx/QtxListResourceEdit.cxx index 3b93b846f..26fab8b57 100644 --- a/src/Qtx/QtxListResourceEdit.cxx +++ b/src/Qtx/QtxListResourceEdit.cxx @@ -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 ); } }