]> git.lyx.org Git - features.git/commit
Get rid of dirty BufferView pointer
authorGuillaume Munch <gm@lyx.org>
Sun, 9 Oct 2016 22:36:26 +0000 (00:36 +0200)
committerGuillaume Munch <gm@lyx.org>
Sun, 16 Oct 2016 22:16:59 +0000 (00:16 +0200)
commite0e765f6a98ac58aa7a7f422a747f8db3bff615d
treea851123c864a3db0b86446534827768f9c0c57ca
parentde19b8fc2d255f0e7bcbd14c31db1317b7f8d479
Get rid of dirty BufferView pointer

Now that there is a signal to inform the controller when the buffer view has
changed, it is no longer necessary to store a perishable pointer to a buffer
view in the dialog view. (Indeed, it was only really useful for checking whether
the new buffer view pointer was different from the old one.)

TODO: other dialogs should be audited for similar hazards.
src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/GuiViewSource.h