diff --git a/src/corelib/tools/qscopeguard.qdoc b/src/corelib/tools/qscopeguard.qdoc index 6d9874842a0..a3fee22ce34 100644 --- a/src/corelib/tools/qscopeguard.qdoc +++ b/src/corelib/tools/qscopeguard.qdoc @@ -18,6 +18,9 @@ QT_BEGIN_NAMESPACE your cleanup code is executed, whether the function is exited normally, exited early by a return statement, or exited by an exception. + A scope guard can be disabled using dismiss(), in which case the function + is not run at all. + \note Exceptions are not supported. The callable shouldn't throw when executed, copied or moved.