From 4f88d205653c8d6fd0d936f73fa65297477e4d5b Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 14 Jul 2005 05:58:36 +0000 Subject: [PATCH] Bug in restore window geometry mechanism was fixed. (Restored window size was greater then window size in prevoius session). --- src/Qtx/QtxMainWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ) -- 2.39.2