WindowModal

This commit is contained in:
stojce 2013-09-09 23:38:51 +02:00
parent a081f081f8
commit 7c7cf667ae

View file

@ -64,7 +64,8 @@ void InfoView::loaded(bool ok)
int cw = (w/2) - (mw/2);
int ch = (h/2) - (mh/2);
this->move(cw, ch);
this->setWindowModality(Qt::WindowModal);
this->setWindowTitle(this->title());
this->show();
}