summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cpp b/setup.cpp
index be61b1e..a8dfccd 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -40,6 +40,7 @@ Setup::Setup():
m_scheduleDuration( "8" ),
m_theme("marine"),
m_lastwhatsonlistmode("detail"),
+ m_lastsortingmode("nameasc"),
m_tntnetloglevel("WARN"),
m_showRecDuration(1),
m_showLogo(1),
@@ -129,6 +130,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value )
else if ( strcmp( name, "Theme" ) == 0 ) m_theme = value;
else if ( strcmp( name, "LocalNetMask" ) == 0 ) { m_localnetmask = value; }
else if ( strcmp( name, "LastWhatsOnListMode" ) == 0 ) { m_lastwhatsonlistmode = value; }
+ else if ( strcmp( name, "LastSortingMode" ) == 0 ) { m_lastsortingmode = value; }
else if ( strcmp( name, "ShowRecDuration" ) == 0 ) { m_showRecDuration = atoi(value); }
else if ( strcmp( name, "ShowLogo" ) == 0 ) { m_showLogo = atoi(value); }
else if ( strcmp( name, "UseAjax" ) == 0 ) { m_useAjax = atoi(value); }
@@ -297,6 +299,7 @@ bool Setup::SaveSetup()
liveplugin->SetupStore("StartPage", m_startscreen.c_str());
liveplugin->SetupStore("Theme", m_theme.c_str());
liveplugin->SetupStore("LastWhatsOnListMode", m_lastwhatsonlistmode.c_str());
+ liveplugin->SetupStore("LastSortingMode", m_lastsortingmode.c_str());
liveplugin->SetupStore("ShowRecDuration", m_showRecDuration);
liveplugin->SetupStore("ShowLogo", m_showLogo);
liveplugin->SetupStore("UseAjax", m_useAjax);