OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_gui.cpp versions 1.29 and 1.30
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_gui.cpp 1.29 -> 1.30

--- as_gui.cpp   2002/12/12 20:52:13     1.29
+++ as_gui.cpp   2002/12/12 21:13:29     1.30
@@ -68,6 +68,11 @@
         m_pPrefs->getNumber(TITRAQ_PREFFRAMEHEIGHT, TITRAQ_DEFFRAMEHEIGHT));
     setCaption("OSSP Titraq");
 
+    // Rehydrate main window layout and doc positions
+    QString Laystring = m_pPrefs->getString(TITRAQ_PREFFRAMELAY, NULL); // FIXME: Handle first case better
+    QTextStream Laystream(&Laystring, IO_ReadOnly);
+    Laystream >> *this; // Persist the main window
+
 //    // Lock down window size
 //    setSizePolicy(QSizePolicy((QSizePolicy::SizeType)0,
 //        (QSizePolicy::SizeType)0, 0, 0, sizePolicy().hasHeightForWidth()));

CVSTrac 2.0.1