mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
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:
@@ -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.infobar_subchan_disp_pos = configfile.getInt32("infobar_subchan_disp_pos" , 0 );
|
||||||
g_settings.progressbar_gradient = configfile.getBool("progressbar_gradient", true );
|
g_settings.progressbar_gradient = configfile.getBool("progressbar_gradient", true );
|
||||||
g_settings.progressbar_design = configfile.getInt32("progressbar_design", CProgressBar::PB_COLOR);
|
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 );
|
bool pb_color = configfile.getBool("progressbar_color", true );
|
||||||
if (!pb_color)
|
if (!pb_color)
|
||||||
g_settings.progressbar_design = CProgressBar::PB_MONO;
|
g_settings.progressbar_design = CProgressBar::PB_MONO;
|
||||||
|
Reference in New Issue
Block a user