mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
4fea79a14b
commit
9fc4051e89
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user