From: abd Date: Mon, 21 Aug 2006 11:50:57 +0000 (+0000) Subject: remove code for replacing ":" by "/" X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f32fff19bafdd8c61043a2ffe562856fb512490;p=modules%2Fgui.git remove code for replacing ":" by "/" Bug SWP13012 --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 1f2f5eb90..2a7b52644 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -299,7 +299,11 @@ void SalomeApp_Application::onLoadDoc() return; name = studyname; +#ifndef WNT + //this code replace marker of windows drive and path become invalid therefore + // defines placed there name.replace( QRegExp(":"), "/" ); +#endif if( LightApp_Application::onLoadDoc( name ) ) {