diff main/PreferencesDialog.cpp @ 242:cf8748822f4d sv1-v1.2pre5

* fix compile error on OS/X
author Chris Cannam
date Wed, 13 Feb 2008 12:47:17 +0000
parents 99fa3387dfef
children 92cad26f44a1
line wrap: on
line diff
--- a/main/PreferencesDialog.cpp	Tue Feb 12 15:41:01 2008 +0000
+++ b/main/PreferencesDialog.cpp	Wed Feb 13 12:47:17 2008 +0000
@@ -152,7 +152,6 @@
             this, SLOT(showSplashChanged(int)));
 
 #ifndef Q_WS_MAC
-
     QComboBox *bgMode = new QComboBox;
     int bg = prefs->getPropertyRangeAndValue("Background Mode", &min, &max,
                                              &deflt);
@@ -193,10 +192,12 @@
                        row, 0);
     subgrid->addWidget(propertyLayout, row++, 1, 1, 2);
 
+#ifndef Q_WS_MAC
     subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel
                                                 ("Background Mode"))),
                        row, 0);
     subgrid->addWidget(bgMode, row++, 1, 1, 2);
+#endif
 
     subgrid->addWidget(new QLabel(tr("%1:").arg(prefs->getPropertyLabel
                                                 ("View Font Size"))),