Salome HOME
Windows porting
[modules/gui.git] / 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() )