don't break the geometry option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-06-15 16:01:55 +00:00
parent 330db5cce1
commit e97a9f1043
2 changed files with 10 additions and 8 deletions

View File

@ -234,10 +234,11 @@ void start(string const & batch, vector<string> const & files,
view.init();
view.setGeometry(posx, posy, width, height);
if (maximize)
view.setWindowState(Qt::WindowMaximized);
if (posx != -1 && posy != -1) {
view.setGeometry(posx, posy, width, height);
if (maximize)
view.setWindowState(Qt::WindowMaximized);
}
view.show();

View File

@ -240,10 +240,11 @@ void start(string const & batch, vector<string> const & files,
view.init();
view.setGeometry(posx, posy, width, height);
if (maximize)
view.setWindowState(Qt::WindowMaximized);
if (posx != -1 && posy != -1) {
view.setGeometry(posx, posy, width, height);
if (maximize)
view.setWindowState(Qt::WindowMaximized);
}
view.show();