summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-10 04:20:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-10 04:20:17 +0200
commit602955096732bcd652d5d26129e39eba63630f93 (patch)
tree748aa6f5d669e00dce42cdfa980a22ecffc1cddc
parent272f8a515e10d1eaebbcea54ba65e01a2eced374 (diff)
Fix Linux build
-rw-r--r--facetracknoir/facetracknoir.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 8940588e..5851a859 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -376,9 +376,7 @@ QFrame *FaceTrackNoIR::get_video_widget() {
/** read the name of the first video-capturing device at start up **/
/** FaceAPI can only use this first one... **/
void FaceTrackNoIR::GetCameraNameDX() {
-#if 1
-//// ui.widget->setCameraName("No video-capturing device was found in your system: check if it's connected!");
-
+#if defined(_WIN32)
ui.cameraName->setText("No video-capturing device was found in your system: check if it's connected!");
// Create the System Device Enumerator.