From 20ad155838f202584cb261ff8a33fd458a04d83f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Apr 2014 11:31:24 +0300 Subject: Move redraw flag from widgets into base widget. --- src/gui/widgets/progressbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/widgets/progressbar.cpp') diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index ea4ef11bd..4c82fe20c 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -56,8 +56,7 @@ ProgressBar::ProgressBar(const Widget2 *const widget, mFillPadding(3), mFillImage(false), mSmoothProgress(true), - mSmoothColorChange(true), - mRedraw(true) + mSmoothColorChange(true) { mBackgroundColor = Theme::getProgressColor(backColor >= 0 ? backColor : 0, mProgress); -- cgit v1.2.3-70-g09d2