summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-12 09:31:00 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-12 09:31:00 +0200
commit1d285993f7f2e41437acafbab3a1335622e85817 (patch)
treef3420aff451df40d2d3a5ae972b59e57dd18086e /include
parent544b62351212188449851b7092cf229091c6f612 (diff)
Valgrind run
- Fix a memory leak where a layout was created without being used. - Fix uninitialized value.
Diffstat (limited to 'include')
-rw-r--r--include/ui/ScrollBar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/ScrollBar.h b/include/ui/ScrollBar.h
index fe8ba64a..45d5b21f 100644
--- a/include/ui/ScrollBar.h
+++ b/include/ui/ScrollBar.h
@@ -49,7 +49,7 @@ private:
int roundRadius_ = 4;
int handleWidth_ = 7;
int minHandleHeight_ = 20;
- bool isActive;
+ bool isActive = false;
const int AnimationDuration = 300;
const int Padding = 4;