git-svn-id: svn://db.shs.com.ru/libs@422 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -13,6 +13,16 @@ void SessionManager::setFile(const QString & file) {
|
||||
}
|
||||
|
||||
|
||||
void SessionManager::removeMainWidget(QWidget * e) {
|
||||
for (int i = 0; i < widgets.size(); ++i) {
|
||||
if (widgets[i].first == e->objectName()) {
|
||||
widgets.remove(i);
|
||||
--i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SessionManager::save() {
|
||||
if (file_.isEmpty()) return;
|
||||
QPIConfig sr(file_);
|
||||
|
||||
Reference in New Issue
Block a user