mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 10:50:28 +02:00
720px width
This commit is contained in:
parent
9d3cc9a5b4
commit
36109c090e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ LogDialog::LogDialog(QWidget* parent) : QDialog(parent, Qt::Dialog) {
|
|||
|
||||
QDesktopWidget* desktop = new QDesktopWidget();
|
||||
QRect screen = desktop->screenGeometry();
|
||||
resize(static_cast<int>(screen.width() * INITIAL_WIDTH_RATIO), static_cast<int>(screen.height() * INITIAL_HEIGHT_RATIO));
|
||||
resize(720, static_cast<int>(screen.height() * INITIAL_HEIGHT_RATIO));
|
||||
move(screen.center() - rect().center());
|
||||
delete desktop;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue