Small fix for Windows compilation... gruiking because MOC doesn't understand #ifdef...
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 24 Jan 2008 04:36:36 +0000 (04:36 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 24 Jan 2008 04:36:36 +0000 (04:36 +0000)
modules/gui/qt4/components/simple_preferences.hpp

index 63309a0..644c793 100644 (file)
@@ -68,7 +68,8 @@ class QLineEdit;
 class QRadioButton;
 class QCheckBox;
 class QString;
-#if WIN32
+
+#ifdef WIN32
 class QListWidgetItem;
 #endif
 
@@ -102,16 +103,17 @@ private:
 
     QList<QWidget *> optionWidgets;
     QString qs_filter;
+    
 
-#if WIN32
+#ifdef WIN32
     QList<QListWidgetItem *> listAsso;
 #endif
 
 /* Display only the options for the selected audio output */
 private slots:
     void lastfm_Changed( int );
-    void updateAudioOptions( int );
-#ifdef WIN32
+    void updateAudioOptions( int ); 
+#ifdef SYS_MINGW32
     void assoDialog();
     void saveAsso();
 #endif