]> git.lyx.org Git - lyx.git/commit
Pass the Buffer to GuiView::reloadBuffer. We always know which buffer we want to...
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 29 Oct 2010 18:50:48 +0000 (18:50 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 29 Oct 2010 18:50:48 +0000 (18:50 +0000)
commite82cd410c15de3caf559b2034e89cc566b29defd
treea2c29df7d83cb5af474a7c606c0513cab1d2a5b1
parent90daf8e6e0c87707894b5173a70e918e252043de
Pass the Buffer to GuiView::reloadBuffer. We always know which buffer we want to reload, so don't ask the documentBufferView again.

Besides, now we can always call GuiView::reloadBuffer instead of calling Buffer::reload directly. This means we don't have to do the error handling each time over and over again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35916 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h