projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e3153
)
Cleanup: use nullptr.
author
Carl Hetherington
<cth@carlh.net>
Tue, 8 Aug 2023 13:25:47 +0000
(15:25 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 8 Aug 2023 22:42:59 +0000
(
00:42
+0200)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 5fa935fac3708b4052de4d6516565402007a21ab..0e2dbafb21e9bca274315f52bcdced3888161209 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-527,7
+527,7
@@
ContentPanel::check_selection ()
_video_panel->create ();
} else if (!have_video && _video_panel) {
_notebook->DeletePage (off);
- _video_panel =
0
;
+ _video_panel =
nullptr
;
}
if (have_video) {
@@
-540,7
+540,7
@@
ContentPanel::check_selection ()
_audio_panel->create ();
} else if (!have_audio && _audio_panel) {
_notebook->DeletePage (off);
- _audio_panel =
0
;
+ _audio_panel =
nullptr
;
}
if (have_audio) {