3461 | | int xbase, ybase, screenwidth, screenheight; |
3462 | | float wmult, hmult; |
3463 | | gContext->GetScreenSettings(xbase, screenwidth, wmult, |
3464 | | ybase, screenheight, hmult); |
3465 | | mwnd->setGeometry(xbase, ybase, screenwidth, screenheight); |
3466 | | mwnd->setFixedSize(QSize(screenwidth, screenheight)); |
| 3461 | DisplayRes *display_res = DisplayRes::GetDisplayRes(); |
| 3462 | int maxWidth = display_res->GetMaxWidth(); |
| 3463 | int maxHeight = display_res->GetMaxHeight(); |
| 3464 | mwnd->setGeometry(0, 0, maxWidth, maxHeight); |
| 3465 | mwnd->setFixedSize(QSize(maxWidth, maxHeight)); |