]> git.lyx.org Git - features.git/commitdiff
Initialize correctly GuiErrorList::from_master_ in constructor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Jun 2016 14:58:13 +0000 (16:58 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Jun 2016 14:58:13 +0000 (16:58 +0200)
Found by Coverity

src/frontends/qt4/GuiErrorList.cpp

index 9d908ad5e011e10def0aa943b45ac0a61331cc6c..cf3a300925055bad4a476590137c69c39bb71368 100644 (file)
@@ -57,7 +57,7 @@ namespace lyx {
 namespace frontend {
 
 GuiErrorList::GuiErrorList(GuiView & lv)
-       : GuiDialog(lv, "errorlist", qt_("Error List"))
+       : GuiDialog(lv, "errorlist", qt_("Error List")), from_master_(false)
 {
        setupUi(this);