]> git.lyx.org Git - features.git/commitdiff
Initialize toolbarsMovable_
authorScott Kostyshak <skostysh@lyx.org>
Fri, 27 Apr 2018 21:41:26 +0000 (17:41 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 28 Apr 2018 01:20:56 +0000 (21:20 -0400)
Valgrind detected a conditional jump because this member was not
initialized.

src/frontends/qt4/GuiView.cpp

index dc20c81a413f2a500f85a68854cad8d728f7f273..5d4fb2e19e7063e76e8aa132425302c29340d9e1 100644 (file)
@@ -513,7 +513,8 @@ QSet<Buffer const *> 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()));