summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2010-06-04 13:06:45 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2010-06-04 13:06:45 (GMT)
commit7ffb1c2e821cc4d508dcedcdb7363756f9f693ff (patch)
tree108011f2becc81827b1776cfcdc747b9b7158b85 /src/corelib/kernel
parentaf8b034e2886ecb11db51d4fecc29177595b86ab (diff)
downloadQt-7ffb1c2e821cc4d508dcedcdb7363756f9f693ff.zip
Qt-7ffb1c2e821cc4d508dcedcdb7363756f9f693ff.tar.gz
Qt-7ffb1c2e821cc4d508dcedcdb7363756f9f693ff.tar.bz2
Doc: Said to not access events after they are posted(postEvent).
Task-number: QTBUG-10210
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index 4e6e6b9..0a5e06e 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -1073,7 +1073,7 @@ void QCoreApplication::exit(int returnCode)
The event must be allocated on the heap since the post event queue
will take ownership of the event and delete it once it has been
- posted. It is \e {not safe} to modify or delete the event after
+ posted. It is \e {not safe} to access the event after
it has been posted.
When control returns to the main event loop, all events that are
@@ -1104,7 +1104,7 @@ void QCoreApplication::postEvent(QObject *receiver, QEvent *event)
The event must be allocated on the heap since the post event queue
will take ownership of the event and delete it once it has been
- posted. It is \e {not safe} to modify or delete the event after
+ posted. It is \e {not safe} to access the event after
it has been posted.
When control returns to the main event loop, all events that are