mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
330db5cce1
commit
e97a9f1043
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user