projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e41d9
)
Small C++11 cleanups.
author
Carl Hetherington
<cth@carlh.net>
Sun, 28 Nov 2021 09:40:42 +0000
(10:40 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 28 Nov 2021 20:08:08 +0000
(21:08 +0100)
src/tools/dcpomatic.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic.cc
b/src/tools/dcpomatic.cc
index 0f86b4940e9615969a5c44c1982ae125a066ca4c..8bcca9b22b721d20d21b1a0f8fec461f5bc20e0e 100644
(file)
--- a/
src/tools/dcpomatic.cc
+++ b/
src/tools/dcpomatic.cc
@@
-451,12
+451,12
@@
public:
}
for (auto i: notes) {
- error_dialog (
0
, std_to_wx(i));
+ error_dialog (
nullptr
, std_to_wx(i));
}
set_film (film);
- JobManager::instance()->add(
shared_ptr<Job>(new CheckContentChangeJob(film)
));
+ JobManager::instance()->add(
make_shared<CheckContentChangeJob>(film
));
}
catch (FileNotFoundError& e) {
auto const dir = e.file().parent_path();