drop obsolete fallback for progressbar setting

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6f1fd88ea8
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-07-18 (Fri, 18 Jul 2014)

Origin message was:
------------------
- drop obsolete fallback for progressbar setting

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-07-18 12:45:40 +02:00
parent ef584d4a46
commit 3e78b2bde1

View File

@@ -418,11 +418,6 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.infobar_subchan_disp_pos = configfile.getInt32("infobar_subchan_disp_pos" , 0 );
g_settings.progressbar_gradient = configfile.getBool("progressbar_gradient", true );
g_settings.progressbar_design = configfile.getInt32("progressbar_design", CProgressBar::PB_COLOR);
if (g_settings.progressbar_design == 4) {
// 4 meant monochrome gradient which is no longer a design option
g_settings.progressbar_design = CProgressBar::PB_COLOR;
g_settings.progressbar_gradient = true;
}
bool pb_color = configfile.getBool("progressbar_color", true );
if (!pb_color)
g_settings.progressbar_design = CProgressBar::PB_MONO;