Georg Baum wrote: > Peter Kümmel wrote: > >> Here the patch for this issue. >> >> lyx_gui.C - start: >> - set size and position at one place: start >> - we must use setGeometry >> - init() first than show() >> - position is always available >> >> QtView: >> - QtView doesn't need the maximize parameter any more >> - qt3 doesn't have normalGeometry >> - remove 'this->' > > I need the attached patch to compile current svn. Is this always needed? > > > Georg > > > ------------------------------------------------------------------------ > > Index: src/frontends/qt3/lyx_gui.C > =================================================================== > --- src/frontends/qt3/lyx_gui.C (Revision 14104) > +++ src/frontends/qt3/lyx_gui.C (Arbeitskopie) > @@ -237,7 +237,7 @@ void start(string const & batch, vector< > view.setGeometry(posx, posy, width, height); > > if (maximize) > - view.setWindowState(WindowMaximized); > + view.setWindowState(Qt::WindowMaximized); > > view.show(); >
Thanks for checking, I've not compiled it with qt3, and just used the naming of the examples in the docs. When Qt3 needs the specifier you should add it. It is needed, for restoring the saved window maximized-property. Peter