Gerrit: Fix modality of warning message for invalid configuration

Task-number: QTCREATORBUG-20535
Change-Id: I4963e3856da12b40a323fbcdab6f0a12a9e15293
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-06-17 23:26:24 +03:00
committed by Orgad Shaneh
parent a39516aef1
commit 4a868d6a18

View File

@@ -340,8 +340,8 @@ void GerritPlugin::openView()
{
if (m_dialog.isNull()) {
while (!m_parameters->isValid()) {
Core::AsynchronousMessageBox::warning(tr("Error"),
tr("Invalid Gerrit configuration. Host, user and ssh binary are mandatory."));
QMessageBox::warning(Core::ICore::dialogParent(), tr("Error"),
tr("Invalid Gerrit configuration. Host, user and ssh binary are mandatory."));
if (!ICore::showOptionsDialog("Gerrit"))
return;
}