Git: Use ICore::dialogParent as dialog parent

Change-Id: Idc3f2f4d27d3279f76b688fac635e8d38b2705f5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2018-11-29 16:19:57 +02:00
committed by Orgad Shaneh
parent d3c1086910
commit f5203796e4
4 changed files with 19 additions and 19 deletions

View File

@@ -301,7 +301,7 @@ bool GerritServer::resolveRoot()
return setupAuthentication();
case CertificateError:
if (QMessageBox::question(
Core::ICore::mainWindow(),
Core::ICore::dialogParent(),
QCoreApplication::translate(
"Gerrit::Internal::GerritDialog", "Certificate Error"),
QCoreApplication::translate(