From: stv Date: Thu, 14 Jul 2005 05:58:36 +0000 (+0000) Subject: Bug in restore window geometry mechanism was fixed. (Restored window size was greater... X-Git-Tag: V3_0_1~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f88d205653c8d6fd0d936f73fa65297477e4d5b;p=modules%2Fgui.git Bug in restore window geometry mechanism was fixed. (Restored window size was greater then window size in prevoius session). --- diff --git a/src/Qtx/QtxMainWindow.cxx b/src/Qtx/QtxMainWindow.cxx index ad5c5141c..faf8642cf 100644 --- a/src/Qtx/QtxMainWindow.cxx +++ b/src/Qtx/QtxMainWindow.cxx @@ -250,8 +250,8 @@ void QtxMainWindow::saveGeometry( QtxResourceMgr* resMgr, const QString& section resMgr->setValue( sec, "pos_x", pos().x() ); resMgr->setValue( sec, "pos_y", pos().y() ); - resMgr->setValue( sec, "width", frameGeometry().width() ); - resMgr->setValue( sec, "height",frameGeometry().height() ); + resMgr->setValue( sec, "width", width() ); + resMgr->setValue( sec, "height", height() ); int winState = WS_Normal; if ( isMinimized() )