forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.11' into 4.12
Change-Id: I00ccdc2c79176799fe9d20ecfe42c260796d7d97
This commit is contained in:
@@ -139,8 +139,8 @@ void HighlightScrollBarOverlay::paintEvent(QPaintEvent *paintEvent)
|
||||
|
||||
const int aboveValue = m_scrollBar->value();
|
||||
const int belowValue = m_scrollBar->maximum() - m_scrollBar->value();
|
||||
const int sizeDocAbove = aboveValue * int(m_highlightController->lineHeight());
|
||||
const int sizeDocBelow = belowValue * int(m_highlightController->lineHeight());
|
||||
const int sizeDocAbove = int(aboveValue * m_highlightController->lineHeight());
|
||||
const int sizeDocBelow = int(belowValue * m_highlightController->lineHeight());
|
||||
const int sizeDocVisible = int(m_highlightController->visibleRange());
|
||||
|
||||
const int scrollBarBackgroundHeight = aboveHandleRect.height() + belowHandleRect.height();
|
||||
|
||||
Reference in New Issue
Block a user