]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Debug.
authorouv <ouv@opencascade.com>
Fri, 16 Aug 2013 08:24:38 +0000 (08:24 +0000)
committerouv <ouv@opencascade.com>
Fri, 16 Aug 2013 08:24:38 +0000 (08:24 +0000)
src/HYDROGUI/HYDROGUI_ImportImageDlg.cxx

index a7983555eab8658137d9405619e35a1db802ceee..47c7f13a3166ecd2d4e425c0c3c4e3ba57a9784b 100644 (file)
@@ -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 );