From b3472ae4e00679714e4abdd3a682183779f42865 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 15 Oct 2013 13:06:11 +0200 Subject: fix win32 faceapi bitrot --- ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp | 2 +- ftnoir_tracker_sm/ftnoir_tracker_sm.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp index 71e9c558..af37d925 100644 --- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp +++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp @@ -52,7 +52,7 @@ void FTNoIR_Tracker::StartTracker(QFrame *videoframe ) if ( pMemData != NULL ) { pMemData->command = 0; // Reset any and all commands if (videoframe != NULL) { - pMemData->handle = videoframe->winId(); // Handle of Videoframe widget + pMemData->handle = (HWND) videoframe->winId(); // Handle of Videoframe widget } else { pMemData->handle = NULL; // reset Handle of Videoframe widget diff --git a/ftnoir_tracker_sm/ftnoir_tracker_sm.h b/ftnoir_tracker_sm/ftnoir_tracker_sm.h index 95e1edeb..49ae7ff5 100644 --- a/ftnoir_tracker_sm/ftnoir_tracker_sm.h +++ b/ftnoir_tracker_sm/ftnoir_tracker_sm.h @@ -69,9 +69,7 @@ private: // Widget that has controls for SMoIR protocol client-settings. class TrackerControls: public QWidget, public ITrackerDialog { - Q_OBJECT public: - explicit TrackerControls(); virtual ~TrackerControls(); void showEvent ( QShowEvent * event ); @@ -128,8 +126,10 @@ private slots: settingsDirty = true; } -signals: - void stateChanged(int newState); +public slots: + void stateChanged(int newState) { + settingsDirty = true; + } }; -- cgit v1.2.3