mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 17:03:11 +02:00
removed unused variable
This commit is contained in:
parent
1a32bf7428
commit
7bd565f1f2
1 changed files with 1 additions and 2 deletions
|
@ -54,8 +54,7 @@ void InfoView::loaded(bool ok)
|
|||
}
|
||||
|
||||
QDesktopWidget* desktop = Application::getInstance()->desktop();
|
||||
int h = desktop->height();
|
||||
resize(VIEW_FIXED_WIDTH, h * 0.8);
|
||||
resize(VIEW_FIXED_WIDTH, desktop->height() * 0.8);
|
||||
move(desktop->screen()->rect().center() - rect().center());
|
||||
setWindowTitle(title());
|
||||
show();
|
||||
|
|
Loading…
Reference in a new issue