diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-12 09:31:00 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-12 09:31:00 +0200 |
commit | 1d285993f7f2e41437acafbab3a1335622e85817 (patch) | |
tree | f3420aff451df40d2d3a5ae972b59e57dd18086e /include | |
parent | Add dialog to create rooms (diff) | |
download | nheko-1d285993f7f2e41437acafbab3a1335622e85817.tar.xz |
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.h | 2 |
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; |