From ef5c78e5babc8d1efab1858cfb01c9d8fe7438d7 Mon Sep 17 00:00:00 2001 From: skt Date: Mon, 7 Aug 2006 08:42:05 +0000 Subject: [PATCH] SWP12792: convert sepeartors for file paths depending on current platform --- src/Qtx/QtxListResourceEdit.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } } -- 2.39.2