]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.hpp
Fix memleaks: Fill in the destructor of simple preference.
[vlc] / modules / gui / qt4 / components / simple_preferences.hpp
index 4210cca196b1600c77bf1d7e598407fd1ca3470a..afff9f4bee3ef54269f181c6b6ce21b1573227d5 100644 (file)
@@ -28,7 +28,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_interface.h>
 #include <QWidget>
 
@@ -61,7 +61,17 @@ enum {
     CachingHigher = 500
 };
 
-enum { alsaW = 0, ossW, directxW, fileW, audioOutCoB, normalizerChB, volLW };
+enum {
+#ifdef WIN32
+       directxW,
+#else
+       alsaW,
+       ossW,
+#endif
+       fileW,
+       audioOutCoB,
+       normalizerChB,
+       volLW };
 enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
 enum { skinRB, qtRB };
 
@@ -95,7 +105,7 @@ class SPrefsPanel : public QWidget
     Q_OBJECT
 public:
     SPrefsPanel( intf_thread_t *, QWidget *, int );
-    virtual ~SPrefsPanel() {};
+    virtual ~SPrefsPanel();
     void apply();
     void clean();
 private: