From 296d8d26bc918a0ed96aa6b1b9a8ec1920c72636 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 24 Oct 2013 15:47:29 +0200 Subject: SM FaceAPI: add deprecation Signed-off-by: Stanislaw Halik --- ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp index af37d925..7fdb8229 100644 --- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp +++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp @@ -24,6 +24,7 @@ ********************************************************************************/ #include "ftnoir_tracker_sm.h" #include +#include #include "facetracknoir/global-settings.h" FTNoIR_Tracker::FTNoIR_Tracker() : lck_shm(SM_MM_DATA, SM_MUTEX, sizeof(SMMemMap)) @@ -46,6 +47,11 @@ FTNoIR_Tracker::~FTNoIR_Tracker() void FTNoIR_Tracker::StartTracker(QFrame *videoframe ) { qDebug() << "FTNoIR_Tracker::Initialize says: Starting "; + QMessageBox::warning(this, + "Tracker deprecation", + "Non-free SM FaceAPI is deprecated, hence this annoying message.\n" + "It'll be removed for 2.0-final.", + QMessageBox::Ok, QMessageBox::NoButton); loadSettings(); -- cgit v1.2.3