From: stv Date: Wed, 7 Mar 2007 10:10:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: For_HDF~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb1106b57dad0c8a1bb4b06fd8cf0d0f973da5d8;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/Qtx/QtxMainWindow.cxx b/src/Qtx/QtxMainWindow.cxx index 8f0a3d1f0..8ecc6e96c 100644 --- a/src/Qtx/QtxMainWindow.cxx +++ b/src/Qtx/QtxMainWindow.cxx @@ -236,21 +236,15 @@ QString QtxMainWindow::saveGeometry() const return geom; } -#include - void QtxMainWindow::loadGeometry( const QString& str ) { QString geom = str; - // geom.remove( '\t' ); - // geom.remove( ' ' ); + geom.remove( '\t' ); + geom.remove( ' ' ); QRect rect = geometry(); QRect screen = QApplication::desktop()->availableGeometry( this ); - QByteArray ba = geom.toLatin1(); - const char* s = (const char*)ba; - printf( "Geometry string: %s\n", s ); - QRegExp szRx( "(\\d+%?)\\s*x\\s*(\\d+%?)" ); if ( szRx.indexIn( geom ) != -1 ) {