From: ouv Date: Fri, 16 Aug 2013 08:24:38 +0000 (+0000) Subject: Debug. X-Git-Tag: BR_hydro_v_0_1~110 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59f8d6c7f39887b341e74b982c47800f3ad9a37a;p=modules%2Fhydro.git Debug. --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx index a7983555..47c7f13a 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx @@ -342,8 +342,11 @@ void HYDROGUI_ImportImageDlg::initializePointSelection() void HYDROGUI_ImportImageDlg::onBrowse() { QString aFilter( tr( "IMAGE_FILTER" ) ); +#ifdef OUV_DEBUG // to remove + QString aFileName = "W:/Work/HYDRO/doc/samples/1.bmp"; +#else QString aFileName = QFileDialog::getOpenFileName( this, tr( "IMPORT_IMAGE_FROM_FILE" ), "", aFilter ); - //QString aFileName = "W:/Work/HYDRO/doc/samples/1.bmp"; +#endif if( !aFileName.isEmpty() ) { QImage anImage( aFileName );