Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 251:c469f8d8208e
Add setDefaultSessionTemplate
author | Chris Cannam |
---|---|
date | Mon, 17 Oct 2011 14:33:57 +0100 |
parents | ecbf3b75c562 |
children | 3240925e00ef |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Fri Oct 07 17:06:08 2011 +0100 +++ b/framework/MainWindowBase.cpp Mon Oct 17 14:33:57 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;