From: Jean-Marc Lasgouttes Date: Mon, 28 May 2018 09:43:24 +0000 (+0200) Subject: Remove trailing _ to local variable X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3393 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=947527084bbe0ea2c045d499c5585578d381dcc0;p=features.git Remove trailing _ to local variable We reserve these to private members. --- 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)),