Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 252:915ac1d3c807 integration_library
Merge from the default branch
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Mon, 17 Oct 2011 15:25:15 +0100 |
parents | c469f8d8208e |
children | 3240925e00ef |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Tue Oct 11 11:16:38 2011 +0100 +++ b/framework/MainWindowBase.cpp Mon Oct 17 15:25:15 2011 +0100 @@ -340,6 +340,14 @@ } void +MainWindowBase::setDefaultSessionTemplate(QString n) +{ + QSettings settings; + settings.beginGroup("MainWindow"); + settings.setValue("sessiontemplate", n); +} + +void MainWindowBase::updateMenuStates() { Pane *currentPane = 0;