diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-11-19 10:27:54 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-11-20 19:38:02 +0000 |
commit | 8ec9a48e80a72c7b9e82107a2c66de6cbf7a02fe (patch) | |
tree | cb1442747752ad1dad1f7370f3ef6d01ac070d57 /src/corelib/kernel/qcoreapplication.cpp | |
parent | 4713298b98503cc7c4699a6e33e3167622da91d0 (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.cpp | 3 |
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() |