Fix this error message on startup:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter:🔚 Painter not active, aborted



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16360 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-12-21 12:01:35 +00:00
parent 6c436f0de3
commit 0e2095ad62

View File

@ -147,7 +147,6 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int view_id)
view->setWorkArea(work_areas_[id]);
view->initTab(work_areas_[id]);
work_areas_[id]->setFocus();
return id;
}