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();
 

Reply via email to