ossp-pkg/as/as-gui/as_slot.cpp 1.54 -> 1.55
--- as_slot.cpp 2002/12/12 20:52:13 1.54
+++ as_slot.cpp 2002/12/12 21:13:29 1.55
@@ -1066,6 +1066,12 @@
// Set frame geometry preferences
m_pPrefs->setNumber(TITRAQ_PREFFRAMEWIDTH, (long)this->width());
m_pPrefs->setNumber(TITRAQ_PREFFRAMEHEIGHT, (long)this->height());
+
+ // Remember main window layout and doc positions
+ QString Laystring;
+ QTextStream Laystream(&Laystring, IO_WriteOnly);
+ Laystream << *this; // Persist the main window
+ m_pPrefs->setString(TITRAQ_PREFFRAMELAY, Laystring);
}
//
|
|