diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:06:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 13:06:11 +0200 |
commit | b3472ae4e00679714e4abdd3a682183779f42865 (patch) | |
tree | 33c89e312a2ee1fc3a33db0372f88a09e8a95fe1 | |
parent | bb84d3767648fda977a2ff29c7de80aed4f2205f (diff) |
fix win32 faceapi bitrot
-rw-r--r-- | ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp | 2 | ||||
-rw-r--r-- | 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; + } }; |