]> git.lyx.org Git - features.git/commit
Work around dangling pointer
authorGuillaume Munch <gm@lyx.org>
Wed, 28 Sep 2016 19:57:54 +0000 (21:57 +0200)
committerGuillaume Munch <gm@lyx.org>
Thu, 29 Sep 2016 10:37:19 +0000 (12:37 +0200)
commit79a947c9041a92805e9ac4b65594753410016fa5
treea5ae50737b2656cac5b039fd6cfab8edf0ce8171
parent3d7ede605978461a6bd67b250925fcc8bf8404c3
Work around dangling pointer

A better solution would be to entirely get rid of this borrowed pointer with
unclear lifetime, but this requires to introduce a new signal for when the
buffer view attached to the GuiView has changed.
src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/GuiViewSource.h