summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-09 19:43:05 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-09 19:43:05 +0100
commit57a1f5846db3709246c14c0a3a4535e3d651c957 (patch)
tree32bf1bbb617ceebf902c7c38a1e0fa20eafb7be0 /src/lib/config.h
parent5f70296713c82c9c7afbf1c50146d83b4caf26c3 (diff)
Cleanup: move unset_sound_output() to a more logical place.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 9e84a120b..0695652fb 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -910,6 +910,15 @@ public:
maybe_set (_sound_output, o, SOUND_OUTPUT);
}
+ void unset_sound_output() {
+ if (!_sound_output) {
+ return;
+ }
+
+ _sound_output = boost::none;
+ changed();
+ }
+
void set_last_player_load_directory (boost::filesystem::path d) {
maybe_set (_last_player_load_directory, d);
}
@@ -922,15 +931,6 @@ public:
maybe_set (_last_dkdm_write_type, t);
}
- void unset_sound_output () {
- if (!_sound_output) {
- return;
- }
-
- _sound_output = boost::none;
- changed ();
- }
-
void set_kdm_container_name_format (dcp::NameFormat n) {
maybe_set (_kdm_container_name_format, n);
}