summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-15 23:59:05 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-22 23:26:27 +0000
commitc5662acf0b21d8c41e0b0f3d0690ebab7c6908a3 (patch)
treed43c61d378c919abaadf3bf501bd56c6866277a1 /src/lib
parent00fd974edb88da88fcde308709ae629e541e59c4 (diff)
swaroop: remove SPL editing from player UI.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/config.cc3
-rw-r--r--src/lib/config.h9
2 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 1a503adde..489e66db9 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -176,7 +176,6 @@ Config::set_defaults ()
_player_watermark_theatre = "";
_player_watermark_period = 1;
_player_watermark_duration = 50;
- _allow_spl_editing = true;
_player_lock_file = boost::none;
#endif
@@ -529,7 +528,6 @@ try
BOOST_FOREACH (cxml::ConstNodePtr i, f.node_children("RequiredMonitor")) {
_required_monitors.push_back(Monitor(i));
}
- _allow_spl_editing = f.optional_bool_child("AllowSPLEditing").get_value_or(true);
_player_lock_file = f.optional_string_child("PlayerLockFile");
#endif
@@ -943,7 +941,6 @@ Config::write_config () const
BOOST_FOREACH (Monitor i, _required_monitors) {
i.as_xml(root->add_child("RequiredMonitor"));
}
- root->add_child("AllowSPLEditing")->add_child_text(_allow_spl_editing ? "1" : "0");
if (_player_lock_file) {
root->add_child("PlayerLockFile")->add_child_text(_player_lock_file->string());
}
diff --git a/src/lib/config.h b/src/lib/config.h
index dd20b58e7..0e5f9dfd1 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -530,10 +530,6 @@ public:
}
#endif
- bool allow_spl_editing () const {
- return _allow_spl_editing;
- }
-
/* SET (mostly) */
void set_master_encoding_threads (int n) {
@@ -1038,10 +1034,6 @@ public:
}
#endif
- void set_allow_spl_editing (bool s) {
- maybe_set (_allow_spl_editing, s);
- }
-
void changed (Property p = OTHER);
boost::signals2::signal<void (Property)> Changed;
/** Emitted if read() failed on an existing Config file. There is nothing
@@ -1248,7 +1240,6 @@ private:
/** a file which, if specified, must be present for the player to work */
boost::optional<boost::filesystem::path> _player_lock_file;
#endif
- bool _allow_spl_editing;
static int const _current_version;