From bb1106b57dad0c8a1bb4b06fd8cf0d0f973da5d8 Mon Sep 17 00:00:00 2001 From: stv Date: Wed, 7 Mar 2007 10:10:53 +0000 Subject: [PATCH] *** empty log message *** --- src/Qtx/QtxMainWindow.cxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 ) { -- 2.39.2