From 602955096732bcd652d5d26129e39eba63630f93 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Apr 2013 04:20:17 +0200 Subject: Fix Linux build --- facetracknoir/facetracknoir.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'facetracknoir/facetracknoir.cpp') 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. -- cgit v1.2.3