From: stv Date: Wed, 16 May 2007 07:33:01 +0000 (+0000) Subject: no message X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c8b074f7f999f4366b46cfd4b75613f615e888d;p=modules%2Fgui.git no message --- diff --git a/src/Qtx/QtxMainWindow.cxx b/src/Qtx/QtxMainWindow.cxx index a0d5f67f8..7ca329ac2 100644 --- a/src/Qtx/QtxMainWindow.cxx +++ b/src/Qtx/QtxMainWindow.cxx @@ -296,7 +296,7 @@ void QtxMainWindow::retrieveGeometry( const QString& str ) rect.setSize( QSize( w, h ) ); } - QRegExp posRx( "([+|-]\\d+\%?)\\s*([+|-]\\d+\%?)" ); + QRegExp posRx( "([+|-]\\d+%?)\\s*([+|-]\\d+%?)" ); if ( posRx.indexIn( geom ) != -1 ) { int x = -1; diff --git a/src/SUIT/SUIT_Session.h b/src/SUIT/SUIT_Session.h index a6655aeeb..f62d697c1 100755 --- a/src/SUIT/SUIT_Session.h +++ b/src/SUIT/SUIT_Session.h @@ -27,6 +27,10 @@ #include #include +#ifdef WIN32 +#include +#endif + #ifdef WIN32 #define LIB_HANDLE HINSTANCE #else @@ -44,7 +48,7 @@ class SUIT_ExceptionHandler; by static function "createApplication" in external library. The Library must be loaded with \n loadLibrary method and after that application can be started. */ -class SUIT_EXPORT SUIT_Session: public QObject +class SUIT_EXPORT SUIT_Session : public QObject { Q_OBJECT