summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-19 14:27:41 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-21 22:07:15 +0200
commit76a84e2661ba288fc6accc01c939e1b9bc891579 (patch)
treeab464c5e6e1c88e5c242b108cba8f90e067b7aa9 /src/wx/wx_util.cc
parentb83cd733adf565f5e7e96e226d447a1beeef9a39 (diff)
Bring some more branding into the variant.
Diffstat (limited to 'src/wx/wx_util.cc')
-rw-r--r--src/wx/wx_util.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 49a3ca5c3..baf5990aa 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -37,6 +37,7 @@
#include "lib/job.h"
#include "lib/job_manager.h"
#include "lib/util.h"
+#include "lib/variant.h"
#include "lib/version.h"
#include <dcp/locale_convert.h>
#include <dcp/warnings.h>
@@ -603,6 +604,10 @@ setup_audio_channels_choice (wxChoice* choice, int minimum)
wxSplashScreen*
maybe_show_splash ()
{
+ if (!variant::show_splash()) {
+ return nullptr;
+ }
+
wxSplashScreen* splash = nullptr;
try {