forked from qt-creator/qt-creator
QmlDesigner: PuppetBuildProgressDialog has to be modal
Otherwise the application state can get seriously messed up, when a user e.g. changes to editor mode. Task-number: QTCREATORBUG-16722 Change-Id: I752eeb788ccb3b5458afe82496a68ddecf6e6579 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
2e81a39b7c
commit
979b034dbe
@@ -40,6 +40,7 @@ PuppetBuildProgressDialog::PuppetBuildProgressDialog() :
|
||||
m_useFallbackPuppet(false)
|
||||
{
|
||||
setWindowFlags(Qt::SplashScreen);
|
||||
setWindowModality(Qt::ApplicationModal);
|
||||
ui->setupUi(this);
|
||||
ui->buildProgressBar->setMaximum(85);
|
||||
connect(ui->useFallbackPuppetPushButton, SIGNAL(clicked()), this, SLOT(setUseFallbackPuppet()));
|
||||
|
Reference in New Issue
Block a user