From e49a10729e2b96202d0eaca1e63edc9212c7258c Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 27 Apr 2018 17:41:26 -0400 Subject: [PATCH] Initialize toolbarsMovable_ Valgrind detected a conditional jump because this member was not initialized. --- src/frontends/qt4/GuiView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index dc20c81a41..5d4fb2e19e 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -513,7 +513,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()));