forked from qt-creator/qt-creator
Android: Make OpenSSL clone progress dialog application-modal
We need to hold the user off from doing funky stuff while cloning, like for example from pressing the clone button multiple times in a row. Change-Id: Ib20218e0b0fa28852412da2b71ec5ba410d682e8 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -803,7 +803,7 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
|
|||||||
QProgressDialog *openSslProgressDialog
|
QProgressDialog *openSslProgressDialog
|
||||||
= new QProgressDialog(tr("Cloning OpenSSL prebuilt libraries..."),
|
= new QProgressDialog(tr("Cloning OpenSSL prebuilt libraries..."),
|
||||||
tr("Cancel"), 0, 0);
|
tr("Cancel"), 0, 0);
|
||||||
openSslProgressDialog->setWindowModality(Qt::WindowModal);
|
openSslProgressDialog->setWindowModality(Qt::ApplicationModal);
|
||||||
openSslProgressDialog->setWindowTitle(openSslCloneTitle);
|
openSslProgressDialog->setWindowTitle(openSslCloneTitle);
|
||||||
openSslProgressDialog->setFixedSize(openSslProgressDialog->sizeHint());
|
openSslProgressDialog->setFixedSize(openSslProgressDialog->sizeHint());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user