From 5e19dff293ffd9df81504ad0d96f007dc13c6cb9 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 5 Sep 2016 08:06:34 +0200 Subject: [PATCH] volumebar: don't use frame around volumebar Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/3072a1886387e031f0f7e121d1a449aa8133dd41 Author: vanhofen Date: 2016-09-05 (Mon, 05 Sep 2016) Origin message was: ------------------ - volumebar: don't use frame around volumebar --- src/gui/volumebar.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/volumebar.cpp b/src/gui/volumebar.cpp index 1ac646d58..8e22faff8 100644 --- a/src/gui/volumebar.cpp +++ b/src/gui/volumebar.cpp @@ -189,15 +189,12 @@ void CVolumeBar::initVolumeBarScale() vb_pb->setType(CProgressBar::PB_REDRIGHT); vb_pb->setRgb(85, 75, 100); - vb_pb->setFrameThickness(2); + vb_pb->setFrameThickness(0); //NI vb_pb->setProgress(vb_pbx, vb_pby, vb_pbw, vb_pbh, *vb_vol, 100); //NI if (g_settings.progressbar_design == CProgressBar::PB_GRAPHIC) - { vb_pb->setGraphic("volumebar"); - vb_pb->setFrameThickness(0); - } //add progressbar to container addCCItem(vb_pb);