summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp2
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_sm.h8
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;
+ }
};