Mercurial > hg > sonic-visualiser
comparison main/PreferencesDialog.cpp @ 1092:52570633e6ff colourschemes
Remove background mode, it no longer works properly
author | Chris Cannam |
---|---|
date | Tue, 19 Jan 2016 16:30:13 +0000 |
parents | 1f4e40be5aa2 |
children | 11ef2f95ea15 |
comparison
equal
deleted
inserted
replaced
1091:91a513ca5e4e | 1092:52570633e6ff |
---|---|
208 m_showSplash = prefs->getShowSplash(); | 208 m_showSplash = prefs->getShowSplash(); |
209 showSplash->setCheckState(m_showSplash ? Qt::Checked : Qt::Unchecked); | 209 showSplash->setCheckState(m_showSplash ? Qt::Checked : Qt::Unchecked); |
210 connect(showSplash, SIGNAL(stateChanged(int)), | 210 connect(showSplash, SIGNAL(stateChanged(int)), |
211 this, SLOT(showSplashChanged(int))); | 211 this, SLOT(showSplashChanged(int))); |
212 | 212 |
213 #ifndef Q_OS_MAC | 213 #ifdef NOT_DEFINED // This no longer works correctly on any platform AFAICS |
214 QComboBox *bgMode = new QComboBox; | 214 QComboBox *bgMode = new QComboBox; |
215 int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max, | 215 int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max, |
216 &deflt); | 216 &deflt); |
217 m_backgroundMode = bg; | 217 m_backgroundMode = bg; |
218 for (i = min; i <= max; ++i) { | 218 for (i = min; i <= max; ++i) { |
375 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel | 375 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel |
376 ("Property Box Layout"))), | 376 ("Property Box Layout"))), |
377 row, 0); | 377 row, 0); |
378 subgrid->addWidget(propertyLayout, row++, 1, 1, 2); | 378 subgrid->addWidget(propertyLayout, row++, 1, 1, 2); |
379 | 379 |
380 #ifndef Q_OS_MAC | 380 #ifdef NOT_DEFINED // see earlier |
381 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel | 381 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel |
382 ("Background Mode"))), | 382 ("Background Mode"))), |
383 row, 0); | 383 row, 0); |
384 subgrid->addWidget(bgMode, row++, 1, 1, 2); | 384 subgrid->addWidget(bgMode, row++, 1, 1, 2); |
385 #endif | 385 #endif |