From: adv Date: Fri, 6 Sep 2013 13:14:19 +0000 (+0000) Subject: Use SUIT_FileDlg instead of QFileDialog to selectg the file to import. X-Git-Tag: BR_hydro_v_0_1~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bf209dc9eb2f6a77df2b1fdbb924c99653c8a06;p=modules%2Fhydro.git Use SUIT_FileDlg instead of QFileDialog to selectg the file to import. --- diff --git a/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx index 447a8132..561cd419 100644 --- a/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx @@ -24,10 +24,10 @@ #include "HYDROGUI_Tool.h" +#include #include #include -#include #include #include #include @@ -116,7 +116,7 @@ QString HYDROGUI_ImportBathymetryDlg::getFileName() const void HYDROGUI_ImportBathymetryDlg::onBrowse() { QString aFilter( tr( "BATHYMETRY_FILTER" ) ); - QString aFileName = QFileDialog::getOpenFileName( this, tr( "IMPORT_BATHYMETRY_FROM_FILE" ), "", aFilter ); + QString aFileName = SUIT_FileDlg::getFileName( this, "", aFilter, tr( "IMPORT_BATHYMETRY_FROM_FILE" ), true ); if( !aFileName.isEmpty() ) {