Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thiago Santini
EyeRecToo
Commits
cb91b92d
Commit
cb91b92d
authored
Dec 17, 2017
by
Thiago Santini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes possible race condition when finishing recording
parent
9a49047c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
EyeRecToo/src/CameraWidget.cpp
EyeRecToo/src/CameraWidget.cpp
+5
-5
No files found.
EyeRecToo/src/CameraWidget.cpp
View file @
cb91b92d
...
...
@@ -311,11 +311,11 @@ void CameraWidget::startRecording()
void
CameraWidget
::
stopRecording
()
{
QMetaObject
::
invokeMethod
(
recorder
,
"stopRecording"
);
disconnect
(
imageProcesso
r
,
SIGNAL
(
newData
(
EyeData
))
,
recorde
r
,
SIGNAL
(
newData
(
Eye
Data
))
);
disconnect
(
imageProcesso
r
,
SIGNAL
(
newData
(
FieldData
))
,
recorder
,
SIGNAL
(
newData
(
FieldData
))
);
disconnect
(
imageProcessor
,
SIGNAL
(
newData
(
EyeData
)),
recorde
r
,
SIGNAL
(
newData
(
EyeData
))
);
disconnect
(
imageProcesso
r
,
SIGNAL
(
newData
(
Field
Data
))
,
recorde
r
,
SIGNAL
(
newData
(
FieldData
))
);
QMetaObject
::
invokeMethod
(
recorder
,
"stopRecording"
,
Qt
::
QueuedConnection
);
ui
->
menubar
->
setEnabled
(
true
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment