comparison main/PreferencesDialog.cpp @ 661:9d6eadfd390e

WS -> OS
author Chris Cannam
date Tue, 26 Nov 2013 11:16:58 +0000
parents 86d1f640ae1e
children 17fe7e0c23a1
comparison
equal deleted inserted replaced
660:dc1bffb96143 661:9d6eadfd390e
189 m_showSplash = prefs->getShowSplash(); 189 m_showSplash = prefs->getShowSplash();
190 showSplash->setCheckState(m_showSplash ? Qt::Checked : Qt::Unchecked); 190 showSplash->setCheckState(m_showSplash ? Qt::Checked : Qt::Unchecked);
191 connect(showSplash, SIGNAL(stateChanged(int)), 191 connect(showSplash, SIGNAL(stateChanged(int)),
192 this, SLOT(showSplashChanged(int))); 192 this, SLOT(showSplashChanged(int)));
193 193
194 #ifndef Q_WS_MAC 194 #ifndef Q_OS_MAC
195 QComboBox *bgMode = new QComboBox; 195 QComboBox *bgMode = new QComboBox;
196 int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max, 196 int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max,
197 &deflt); 197 &deflt);
198 m_backgroundMode = bg; 198 m_backgroundMode = bg;
199 for (i = min; i <= max; ++i) { 199 for (i = min; i <= max; ++i) {
313 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel 313 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel
314 ("Property Box Layout"))), 314 ("Property Box Layout"))),
315 row, 0); 315 row, 0);
316 subgrid->addWidget(propertyLayout, row++, 1, 1, 2); 316 subgrid->addWidget(propertyLayout, row++, 1, 1, 2);
317 317
318 #ifndef Q_WS_MAC 318 #ifndef Q_OS_MAC
319 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel 319 subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel
320 ("Background Mode"))), 320 ("Background Mode"))),
321 row, 0); 321 row, 0);
322 subgrid->addWidget(bgMode, row++, 1, 1, 2); 322 subgrid->addWidget(bgMode, row++, 1, 1, 2);
323 #endif 323 #endif