Get rid of current_view.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7165 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-06-12 14:25:17 +00:00
parent 4fea79a14b
commit 9fc4051e89

View File

@ -47,9 +47,6 @@ int const statusbar_timer_value = 3000;
} // namespace anon
#warning FIXME Current_view is used here!
BufferView * current_view;
qfont_loader fontloader;
@ -61,8 +58,6 @@ QtView::QtView(unsigned int width, unsigned int height)
qApp->setMainWidget(this);
bufferview_.reset(new BufferView(this, 0, 0, width, height));
#warning FIXME Current_view is used here!
::current_view = bufferview_.get();
menubar_.reset(new Menubar(this, menubackend));
toolbar_.reset(new Toolbar(this, 0, 0));