]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug in restore window geometry mechanism was fixed. (Restored window size was greater...
authorstv <stv@opencascade.com>
Thu, 14 Jul 2005 05:58:36 +0000 (05:58 +0000)
committerstv <stv@opencascade.com>
Thu, 14 Jul 2005 05:58:36 +0000 (05:58 +0000)
src/Qtx/QtxMainWindow.cxx

index ad5c5141c5791e140cd184e990bf000a5c8d1e2c..faf8642cfbed7643e2e23c0042af1ac93f6cdf5a 100644 (file)
@@ -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() )