summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2016-03-11 17:02:09 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2016-03-11 20:18:01 +0000
commit8c0ae00dd603bfe5aa99b5b2db8c1ffdaa6cd45e (patch)
tree5b683db8b5dbc1d2a865da14371fb850170e3e40 /src/corelib/global
parentdf909d8b1fb1ba12de890f140ce2a873a4799bd2 (diff)
Fix documentation of QFlags::setFlag
The function is not const Change-Id: Ibe6f774058efd5ed5de021ff024d023b3cfc7e04 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index cbcc6d02a6..35213f8a4c 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -426,7 +426,7 @@ Q_STATIC_ASSERT_X(QT_POINTER_SIZE == sizeof(void *), "QT_POINTER_SIZE defined in
*/
/*!
- \fn QFlags QFlags::setFlag(Enum flag, bool on) const
+ \fn QFlags QFlags::setFlag(Enum flag, bool on)
\since 5.7
Sets the indicated \a flag if \a on is \c true or unsets it if