diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-04-28 20:06:26 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2016-04-29 08:11:19 +0000 |
commit | c75c54e930d6a1d70ed8730072f66364e20a91d8 (patch) | |
tree | c405ab18bdaca6438cc8cf13de19bb90775c9e06 /src/plugins/texteditor/generichighlighter | |
parent | 9092a9e9b886057142b83a7616a6b7343244562c (diff) |
Generic Highlighter: Use dialogParent for error dialog.
Change-Id: I58c8326cef7b26e433cd259d457fed6eb7dd59c0
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/generichighlighter')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/generichighlighter/manager.cpp b/src/plugins/texteditor/generichighlighter/manager.cpp index 6f32e833b9..1c08bfa01d 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<QUrl> urls; |