Progressbars: use default frame thickness

It's unnecessary overhead to set the value everywhere, except it's needed.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f70a30defa
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-05 (Fri, 05 Apr 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-04-05 21:28:46 +02:00
parent e6a024d11e
commit 307a8675b6
7 changed files with 6 additions and 13 deletions

View File

@@ -220,13 +220,11 @@ void CInfoViewer::changePB()
delete sigscale;
sigscale = new CProgressBar();
sigscale->setBlink();
sigscale->setFrameThickness(0);
if (snrscale)
delete snrscale;
snrscale = new CProgressBar();
snrscale->setBlink();
snrscale->setFrameThickness(0);
if (timescale)
delete timescale;
@@ -1479,7 +1477,6 @@ void CInfoViewer::display_Info(const char *current, const char *next,
pb_w = BoxEndX - 10 - xStart;
pb_shadow = 0;
timescale->setShadowOnOff(false);
timescale->setFrameThickness(0);
}
switch(g_settings.infobar_progressbar) //set progressbar position
{