summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-11-19 10:27:54 -0800
committerThiago Macieira <thiago.macieira@intel.com>2020-11-20 19:38:02 +0000
commit8ec9a48e80a72c7b9e82107a2c66de6cbf7a02fe (patch)
treecb1442747752ad1dad1f7370f3ef6d01ac070d57 /src/corelib/kernel/qcoreapplication.cpp
parent4713298b98503cc7c4699a6e33e3167622da91d0 (diff)
QCoreApplication: add more information to processEvents() docs
Just shows how bad an idea to call this function it is. Pick-to: 5.15 Fixes: QTBUG-88653 Change-Id: If51855da004b4f3fbf43fffd1648fc294065160d Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index ec8a2dc286..7c2cdd7516 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -1276,6 +1276,9 @@ void QCoreApplication::processEvents(QEventLoop::ProcessEventsFlags flags)
\note Unlike the \l{QCoreApplication::processEvents(QEventLoop::ProcessEventsFlags flags)}{processEvents()}
overload, this function also processes events that are posted while the function runs.
+ \note All events that were queued before the timeout will be processed,
+ however long it takes.
+
\threadsafe
\sa exec(), QTimer, QEventLoop::processEvents()