forked from qt-creator/qt-creator
Generic Highlighter: Use dialogParent for error dialog.
Change-Id: I58c8326cef7b26e433cd259d457fed6eb7dd59c0 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -460,7 +460,7 @@ void MultiDefinitionDownloader::downloadDefinitionsFinished()
|
||||
text = tr("Error downloading one or more definitions.");
|
||||
if (writeError)
|
||||
text.append(QLatin1Char('\n') + tr("Please check the directory's access rights."));
|
||||
QMessageBox::critical(0, tr("Download Error"), text);
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), tr("Download Error"), text);
|
||||
}
|
||||
|
||||
QList<QUrl> urls;
|
||||
|
Reference in New Issue
Block a user