Doc: fix some typos and missing doc for QScopeGuard

Change-Id: Ifd492387abbffa551e08a6bcc01e248b8402254d
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Eirik Aavitsland 2019-03-08 10:36:12 +01:00
parent c7f6761bc9
commit 0f5ed788f2

View File

@ -37,6 +37,12 @@ QT_BEGIN_NAMESPACE
a scope. 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) \fn template <typename F> const QScopeGuard<F> qScopeGuard(F f)
\inmodule QtCore \inmodule QtCore