From 7f8e0da4a5df9587e38dc1a507955c22f7cf4686 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 20 Jan 2025 11:07:58 +0100 Subject: [PATCH] Doc: Remove docs for the obsolete "errorString" argument ...from save() and reload(). Change-Id: I25ecc485fe14182ade8a9e8a5b0179fe59af9206 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/idocument.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/coreplugin/idocument.cpp b/src/plugins/coreplugin/idocument.cpp index 32c0465a30d..7ca03148a2c 100644 --- a/src/plugins/coreplugin/idocument.cpp +++ b/src/plugins/coreplugin/idocument.cpp @@ -332,8 +332,6 @@ IDocument::OpenResult IDocument::open(QString *errorString, const Utils::FilePat document should avoid cleanups or other operations that it does for user-requested saves. - Use \a errorString to return an error message if saving failed. - Returns whether saving was successful. If saving was successful saved is emitted. @@ -452,9 +450,6 @@ IDocument::ReloadBehavior IDocument::reloadBehavior(ChangeTrigger trigger, Chang The \a type specifies whether only the file permissions changed or if the contents of the file changed. - Use \a errorString to return an error message, if this document cannot - handle the file contents. - Returns if the file was reloaded successfully. The default implementation does nothing and returns \c true.