mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
qt3 and gtk support for revision: 15153
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15155 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b171e5f150
commit
c2cc205852
@ -44,7 +44,7 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int /*view_id
|
||||
work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get()));
|
||||
|
||||
// FIXME BufferView creation should be independant of WorkArea creation
|
||||
buffer_views_[0].reset(new BufferView(view_.get()));
|
||||
buffer_views_[0].reset(new BufferView());
|
||||
work_area_->setBufferView(buffer_views_[0].get());
|
||||
view_->setWorkArea(work_area_.get());
|
||||
return 0;
|
||||
|
@ -70,7 +70,7 @@ public:
|
||||
work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get()));
|
||||
|
||||
// FIXME BufferView creation should be independant of WorkArea creation
|
||||
buffer_views_[0].reset(new BufferView(view_.get()));
|
||||
buffer_views_[0].reset(new BufferView());
|
||||
work_area_->setBufferView(buffer_views_[0].get());
|
||||
view_->setWorkArea(work_area_.get());
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user