From 947527084bbe0ea2c045d499c5585578d381dcc0 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 28 May 2018 11:43:24 +0200 Subject: [PATCH] Remove trailing _ to local variable We reserve these to private members. --- src/frontends/qt4/GuiWorkArea.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index d4010a9b4c..a4c08649a7 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -660,10 +660,10 @@ void GuiWorkArea::Private::updateScrollbar() // the signal valueChanged. (#10311) QObject::disconnect(p->verticalScrollBar(), SIGNAL(valueChanged(int)), p, SLOT(scrollTo(int))); - ScrollbarParameters const & scroll_ = buffer_view_->scrollbarParameters(); - p->verticalScrollBar()->setRange(scroll_.min, scroll_.max); - p->verticalScrollBar()->setPageStep(scroll_.page_step); - p->verticalScrollBar()->setSingleStep(scroll_.single_step); + ScrollbarParameters const & scroll = buffer_view_->scrollbarParameters(); + p->verticalScrollBar()->setRange(scroll.min, scroll.max); + p->verticalScrollBar()->setPageStep(scroll.page_step); + p->verticalScrollBar()->setSingleStep(scroll.single_step); p->verticalScrollBar()->setSliderPosition(0); // Connect to the vertical scroll bar QObject::connect(p->verticalScrollBar(), SIGNAL(valueChanged(int)),