From: Scott Kostyshak Date: Fri, 27 Apr 2018 21:41:26 +0000 (-0400) Subject: Initialize toolbarsMovable_ X-Git-Tag: 2.3.1~100 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9b821eb047a47008c80fe84e33dc2e59f01cdd59;p=features.git Initialize toolbarsMovable_ Valgrind detected a conditional jump because this member was not initialized. (cherry picked from commit e49a10729e2b96202d0eaca1e63edc9212c7258c) --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 0ffc4ac8a7..af594cba61 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -509,7 +509,8 @@ QSet GuiView::GuiViewPrivate::busyBuffers; GuiView::GuiView(int id) : d(*new GuiViewPrivate(this)), id_(id), closing_(false), busy_(0), - command_execute_(false), minibuffer_focus_(false), devel_mode_(false) + command_execute_(false), minibuffer_focus_(false), toolbarsMovable_(true), + devel_mode_(false) { connect(this, SIGNAL(bufferViewChanged()), this, SLOT(onBufferViewChanged()));