centering fix

This commit is contained in:
stojce 2013-09-09 23:59:44 +02:00
parent 6b81620098
commit 1a32bf7428

View file

@ -57,8 +57,8 @@ void InfoView::loaded(bool ok)
int h = desktop->height();
resize(VIEW_FIXED_WIDTH, h * 0.8);
move(desktop->screen()->rect().center() - rect().center());
setWindowModality(Qt::WindowModal);
setWindowTitle(title());
show();
setWindowModality(Qt::WindowModal);
}
}