From: mzn Date: Tue, 8 Nov 2005 08:58:44 +0000 (+0000) Subject: For compatibility with Qt 3.0.5 version. X-Git-Tag: V2_2_6~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45bf25c2b80207e872691907075f636301327e92;p=modules%2Fvisu.git For compatibility with Qt 3.0.5 version. --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 03e084bd..a73a7162 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3836,7 +3836,7 @@ void VisuGUI::ExportTableToFile() aDlg -> setCaption("Export Table To File"); aDlg -> setDir( getVisuOutputDir() ); aDlg -> setFilters(flt); - aDlg -> setSelection(aTitle.replace(QRegExp(" "), "_").replace("*", "")); + aDlg -> setSelection( aTitle.replace( QRegExp(" "), "_" ).replace( QRegExp("\\*"), "" ) ); aDlg -> exec(); QString aFile = aDlg -> selectedFile(); delete aDlg;