From 3f71dcc917a855e40727062a79356d152bf67bb9 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 16 Feb 2019 23:19:04 +0100 Subject: [PATCH] listframe: simplify calculation of m_cFrameScrollRel.iHeight Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/cbe52317c3985a5e46ed4c1eb71968499186c5c1 Author: vanhofen Date: 2019-02-16 (Sat, 16 Feb 2019) Origin message was: ------------------ - listframe: simplify calculation of m_cFrameScrollRel.iHeight ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/listframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/listframe.cpp b/src/gui/widget/listframe.cpp index a9e8337ec..85954da02 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -272,7 +272,7 @@ void CListFrame::initFramesRel(void) m_cFrameScrollRel.iX = m_cFrame.iWidth - SCROLLBAR_WIDTH; m_cFrameScrollRel.iY = m_cFrameTitleRel.iHeight + m_cFrameHeaderListRel.iHeight; m_cFrameScrollRel.iWidth = SCROLLBAR_WIDTH; - m_cFrameScrollRel.iHeight = m_cFrameHeaderListRel.iHeight + m_cFrameListRel.iHeight - m_cFrameHeaderListRel.iHeight - m_nBgRadius; + m_cFrameScrollRel.iHeight = m_cFrameListRel.iHeight - m_nBgRadius; } else {