From 0ffec1941886f11fa9c51806eb7e4617e1c272b5 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 25 Jan 2015 19:31:00 +0100 Subject: [PATCH] CVolumeBar: use defined volumebar size as default height Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/84ee2dd0593a9273df8cd4b5ea4cdf3ce6358b1d Author: Thilo Graf Date: 2015-01-25 (Sun, 25 Jan 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/volumebar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/volumebar.cpp b/src/gui/volumebar.cpp index b1445c5b2..8a9fd60ca 100644 --- a/src/gui/volumebar.cpp +++ b/src/gui/volumebar.cpp @@ -48,7 +48,7 @@ void CVolumeBar::initVarVolumeBar() col_body = COL_MENUCONTENT_PLUS_0; vb_item_offset = 4; - height = 4*vb_item_offset; //default height + height = g_settings.volume_size; //default height //assume volume value as pointer to global setting vb_vol = &g_settings.current_volume;