summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-21 23:00:55 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-21 23:02:49 +0100
commit44da1840ca17d0945cb1886bb17218990850894c (patch)
treeb6fab2f9fa7202aef68f948f2028a36ca476d5ea /src/lib/config.cc
parentce058471aa9995adac968cecc205f5a4319f449e (diff)
Remove the "simple" UI (#1868).
It just seemed to cause more problems than it solved; mainly people enabling it by mistake and then being told to click buttons that they could not see.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 80c0891a0..8b849dcc1 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -165,7 +165,6 @@ Config::set_defaults ()
_christie_password = optional<string>();
_gdc_username = optional<string>();
_gdc_password = optional<string>();
- _interface_complexity = INTERFACE_SIMPLE;
_player_mode = PLAYER_MODE_WINDOW;
_image_display = 0;
_video_view_type = VIDEO_VIEW_SIMPLE;
@@ -571,10 +570,6 @@ try
_gdc_username = f.optional_string_child("GDCUsername");
_gdc_password = f.optional_string_child("GDCPassword");
- optional<string> ic = f.optional_string_child("InterfaceComplexity");
- if (ic && *ic == "full") {
- _interface_complexity = INTERFACE_FULL;
- }
optional<string> pm = f.optional_string_child("PlayerMode");
if (pm && *pm == "window") {
_player_mode = PLAYER_MODE_WINDOW;
@@ -1008,16 +1003,6 @@ Config::write_config () const
root->add_child("GDCPassword")->add_child_text(*_gdc_password);
}
- /* [XML] InterfaceComplexity <code>simple</code> for the reduced interface or <code>full</code> for the full interface. */
- switch (_interface_complexity) {
- case INTERFACE_SIMPLE:
- root->add_child("InterfaceComplexity")->add_child_text("simple");
- break;
- case INTERFACE_FULL:
- root->add_child("InterfaceComplexity")->add_child_text("full");
- break;
- }
-
/* [XML] PlayerMode <code>window</code> for a single window, <code>full</code> for full-screen and <code>dual</code> for full screen playback
with controls on another monitor.
*/