changeset 1092:52570633e6ff colourschemes

Remove background mode, it no longer works properly
author Chris Cannam
date Tue, 19 Jan 2016 16:30:13 +0000
parents 91a513ca5e4e
children 460ccb412650
files main/PreferencesDialog.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/PreferencesDialog.cpp	Tue Jan 19 13:02:32 2016 +0000
+++ b/main/PreferencesDialog.cpp	Tue Jan 19 16:30:13 2016 +0000
@@ -210,7 +210,7 @@
     connect(showSplash, SIGNAL(stateChanged(int)),
             this, SLOT(showSplashChanged(int)));
 
-#ifndef Q_OS_MAC
+#ifdef NOT_DEFINED // This no longer works correctly on any platform AFAICS
     QComboBox *bgMode = new QComboBox;
     int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max,
                                              &deflt);
@@ -377,7 +377,7 @@
                        row, 0);
     subgrid->addWidget(propertyLayout, row++, 1, 1, 2);
 
-#ifndef Q_OS_MAC
+#ifdef NOT_DEFINED // see earlier
     subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel
                                                 ("Background Mode"))),
                        row, 0);