Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 24:ae0731ba8e67
* Put channel and windowing parameters on an "advanced" bit of the plugin
parameter window
author | Chris Cannam |
---|---|
date | Fri, 15 Sep 2006 13:50:22 +0000 |
parents | 7da85e0b85e9 |
children | e74f508db18c |
comparison
equal
deleted
inserted
replaced
23:a2ad974b0c8c | 24:ae0731ba8e67 |
---|---|
170 m_playSharpen->setToolTip(tr("Sharpen percussive transients")); | 170 m_playSharpen->setToolTip(tr("Sharpen percussive transients")); |
171 m_playSharpen->setEnabled(false); | 171 m_playSharpen->setEnabled(false); |
172 | 172 |
173 QSettings settings; | 173 QSettings settings; |
174 settings.beginGroup("MainWindow"); | 174 settings.beginGroup("MainWindow"); |
175 m_playSharpen->setChecked(settings.value("playsharpen", false).toBool()); | 175 m_playSharpen->setChecked(settings.value("playsharpen", true).toBool()); |
176 settings.endGroup(); | 176 settings.endGroup(); |
177 | 177 |
178 connect(m_playSharpen, SIGNAL(clicked()), | 178 connect(m_playSharpen, SIGNAL(clicked()), |
179 this, SLOT(playSharpenToggled())); | 179 this, SLOT(playSharpenToggled())); |
180 | 180 |