From 7c7cf667ae216dbdd0d4084db2e89cb1cf72105c Mon Sep 17 00:00:00 2001 From: stojce Date: Mon, 9 Sep 2013 23:38:51 +0200 Subject: [PATCH] WindowModal --- interface/src/InfoView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/InfoView.cpp b/interface/src/InfoView.cpp index 66b1b57482..2d6f16c494 100644 --- a/interface/src/InfoView.cpp +++ b/interface/src/InfoView.cpp @@ -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(); }