720px width

This commit is contained in:
Stojce Slavkovski 2013-12-17 22:41:38 +01:00
parent 9d3cc9a5b4
commit 36109c090e

View file

@ -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;
}