summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2019-03-08 10:36:12 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2019-03-11 08:37:29 +0000
commit0f5ed788f295ccd1ecc8708ef846e957906d5b97 (patch)
treedc7871c18f8c6052696f1a4aa32c9ec5d1bbc40c
parentc7f6761bc98593744f8f8f9d2b864656f8d36a58 (diff)
Doc: fix some typos and missing doc for QScopeGuard
Change-Id: Ifd492387abbffa551e08a6bcc01e248b8402254d Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/corelib/tools/qscopeguard.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/tools/qscopeguard.qdoc b/src/corelib/tools/qscopeguard.qdoc
index 21b0bab9cf..5a9b7fd210 100644
--- a/src/corelib/tools/qscopeguard.qdoc
+++ b/src/corelib/tools/qscopeguard.qdoc
@@ -37,6 +37,12 @@ QT_BEGIN_NAMESPACE
a scope.
*/
+/*! \fn template <typename F> void QScopeGuard<F>::dismiss()
+
+ Disarms the scope guard, so that the function \e F will not be called at
+ the end of the scope.
+*/
+
/*!
\fn template <typename F> const QScopeGuard<F> qScopeGuard(F f)
\inmodule QtCore