projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: remove some unnecessary includes.
[dcpomatic.git]
/
src
/
wx
/
timing_panel.cc
diff --git
a/src/wx/timing_panel.cc
b/src/wx/timing_panel.cc
index 732cd07d50a880b57aa66f4cd15fc4f3a6a7d38f..890049ae92826657d66e5a602c8e6aa4787ab04b 100644
(file)
--- a/
src/wx/timing_panel.cc
+++ b/
src/wx/timing_panel.cc
@@
-507,8
+507,7
@@
TimingPanel::move_to_start_of_reel_clicked ()
}
}
- auto d = new MoveToDialog(this, position, _parent->film());
- ScopeGuard sg = [d]() { d->Destroy(); };
+ auto d = make_wx<MoveToDialog>(this, position, _parent->film());
if (d->ShowModal() == wxID_OK) {
for (auto i: _parent->selected()) {