summaryrefslogtreecommitdiff
path: root/doc/qtcreatordev/src/actionmanager.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/qtcreatordev/src/actionmanager.qdoc')
-rw-r--r--doc/qtcreatordev/src/actionmanager.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/qtcreatordev/src/actionmanager.qdoc b/doc/qtcreatordev/src/actionmanager.qdoc
index 194d0eefdf..49c57d6818 100644
--- a/doc/qtcreatordev/src/actionmanager.qdoc
+++ b/doc/qtcreatordev/src/actionmanager.qdoc
@@ -124,8 +124,9 @@
Core::ICore::addContextObject(contextObj);
\endcode
- You also have to unregister the IContext object with
- Core::ICore::removeContextObject() when you do not need it anymore.
+ IContext instances are automatically unregistered when they are deleted.
+ Use Core::ICore::removeContextObject() if you need to unregister an IContext
+ instance manually.
Some constructs in \QC automatically have an associated context, like
Core::IEditor and Core::IMode.