diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-10 04:20:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-10 04:20:17 +0200 |
commit | 602955096732bcd652d5d26129e39eba63630f93 (patch) | |
tree | 748aa6f5d669e00dce42cdfa980a22ecffc1cddc /facetracknoir | |
parent | 272f8a515e10d1eaebbcea54ba65e01a2eced374 (diff) |
Fix Linux build
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 4 |
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.
|