From edefb3f0b4c6545d1d7957c4bff109a1b686365b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 3 Apr 2021 23:45:03 +0200 Subject: [PATCH] Fix warning in previous. --- .gitignore | 2 ++ src/wx/film_viewer.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bacaa1524..bf65ce2f7 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ src/wx/subscribers.cc .ccls-cache compile_commands.json vim-lsp.log + +lock \ No newline at end of file diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 14737d009..cc18d634d 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -742,7 +742,7 @@ FilmViewer::too_many_frames_dropped () stop (); } - bool shown = NagDialog::maybe_nag ( + NagDialog::maybe_nag ( panel(), Config::NAG_TOO_MANY_DROPPED_FRAMES, _("The player is dropping a lot of frames, so playback may not be accurate.\n\n" -- 2.30.2