From: vsr Date: Fri, 17 Jun 2005 14:04:52 +0000 (+0000) Subject: Add getDirectory() method to provide application-specific "Select directory" dialog box X-Git-Tag: T3_0_0_a4~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=caba0ba24e01310fcc72117e50e3adebc92c648a;p=modules%2Fgui.git Add getDirectory() method to provide application-specific "Select directory" dialog box --- diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index c697a0d1a..d0c787dfb 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -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() )