projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build.
[dcpomatic.git]
/
src
/
lib
/
job.cc
diff --git
a/src/lib/job.cc
b/src/lib/job.cc
index 01df2c570611cf90c2fa38a7aee41f142391725d..e48daa4109bbfb935fdc1f532a0d6947c9a276f9 100644
(file)
--- a/
src/lib/job.cc
+++ b/
src/lib/job.cc
@@
-187,7
+187,7
@@
void
Job::set_state (State s)
{
bool finished = false;
Job::set_state (State s)
{
bool finished = false;
-
+
{
boost::mutex::scoped_lock lm (_state_mutex);
_state = s;
{
boost::mutex::scoped_lock lm (_state_mutex);
_state = s;
@@
-201,7
+201,7
@@
Job::set_state (State s)
if (finished && ui_signaller) {
ui_signaller->emit (boost::bind (boost::ref (Finished)));
if (finished && ui_signaller) {
ui_signaller->emit (boost::bind (boost::ref (Finished)));
- }
+ }
}
/** @return DCPTime (in seconds) that this sub-job has been running */
}
/** @return DCPTime (in seconds) that this sub-job has been running */