forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
a39516aef1
commit
4a868d6a18
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user