Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the bug #42: point C is not activated, but point C is shown in preview in...
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImportBathymetryDlg.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx
b/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx
index 447a8132a6edf5eff211b05b96579b76595797fe..561cd419b66306bc2b1dcc86a5297cb5b9b88fec 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.cxx
@@
-24,10
+24,10
@@
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_Tool.h"
+#include <SUIT_FileDlg.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
-#include <QFileDialog>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
#include <QGroupBox>
#include <QLabel>
#include <QLayout>
@@
-116,7
+116,7
@@
QString HYDROGUI_ImportBathymetryDlg::getFileName() const
void HYDROGUI_ImportBathymetryDlg::onBrowse()
{
QString aFilter( tr( "BATHYMETRY_FILTER" ) );
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() )
{
if( !aFileName.isEmpty() )
{