]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Add getDirectory() method to provide application-specific "Select directory" dialog box
authorvsr <vsr@opencascade.com>
Fri, 17 Jun 2005 14:04:52 +0000 (14:04 +0000)
committervsr <vsr@opencascade.com>
Fri, 17 Jun 2005 14:04:52 +0000 (14:04 +0000)
src/STD/STD_Application.cxx

index c697a0d1a15f80d6e02ded62de1fe907c4f47534..d0c787dfb0dfa2e041213844d28351df0fd1051a 100755 (executable)
@@ -617,7 +617,7 @@ QString STD_Application::getFileName( bool open, const QString& initial, const Q
     while ( !isOk )
     {
       // It is preferrable to use OS-specific file dialog box here !!!
-      aName = QFileDialog::getSaveFileName( anOldPath, fls.join( ";;" ), parent,
+      aName = QFileDialog::getSaveFileName( anOldPath, filters, parent,
                                            0, caption, &aUsedFilter);
 
       if ( aName.isNull() )