multiwindow: Use showNormal() instead of show() to ensure normal geometry
Change-Id: Ice607f536a620da5a70f2ba066f4983bb78c6288 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
8082c0dc81
commit
bcbc8120b3
@ -187,7 +187,7 @@ int main(int argc, char **argv)
|
|||||||
QPoint position = availableGeometry.topLeft();
|
QPoint position = availableGeometry.topLeft();
|
||||||
position += QPoint(col * windowWidth, row * windowHeight);
|
position += QPoint(col * windowWidth, row * windowHeight);
|
||||||
w->setFramePosition(position);
|
w->setFramePosition(position);
|
||||||
w->show();
|
w->showNormal();
|
||||||
}
|
}
|
||||||
|
|
||||||
int r = app.exec();
|
int r = app.exec();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user