diff --git a/src/plugins/texteditor/generichighlighter/manager.cpp b/src/plugins/texteditor/generichighlighter/manager.cpp index 6f32e833b9d..1c08bfa01d4 100644 --- a/src/plugins/texteditor/generichighlighter/manager.cpp +++ b/src/plugins/texteditor/generichighlighter/manager.cpp @@ -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 urls;