]> git.sesse.net Git - kdenlive/blobdiff - src/wizard.cpp
Fix manually turning off the monitor scene causes the button to do so to be hidden...
[kdenlive] / src / wizard.cpp
index 7574901ae0fd37bd1707fd2f5009223f77ac00ba..278cf2fe05b8e934bd3298cbc51475891f3e71ad 100644 (file)
 #include "wizard.h"
 #include "kdenlivesettings.h"
 #include "profilesdialog.h"
-#if !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD)
+#ifdef USE_V4L
 #include "v4l/v4lcapture.h"
 #endif
-#include "kdenlive-config.h"
+#include "config-kdenlive.h"
 
 #include <mlt++/Mlt.h>
 #include <framework/mlt_version.h>
@@ -158,7 +158,7 @@ Wizard::Wizard(bool upgrade, QWidget *parent) :
 
 void Wizard::slotDetectWebcam()
 {
-#if !defined(Q_WS_MAC) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD)
+#ifdef USE_V4L
     m_capture.v4l_devices->blockSignals(true);
     m_capture.v4l_devices->clear();
 
@@ -189,7 +189,7 @@ void Wizard::slotDetectWebcam()
         if (!found) m_capture.v4l_devices->setCurrentIndex(0);
     } else m_capture.v4l_status->setText(i18n("No device found, plug your webcam and refresh."));
     m_capture.v4l_devices->blockSignals(false);
-#endif
+#endif /* USE_V4L */
 }
 
 void Wizard::slotUpdateCaptureParameters()