diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-09-29 18:13:53 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-10-04 12:01:20 -0700 |
commit | 96a1da00d29b2367643c82f75be7cdc1dad3e2a0 (patch) | |
tree | 4a776e629ac4c49431689e07f1e213bf285d0cf1 /src/corelib/kernel | |
parent | 2028b80b6b1fa726f428378d2cabfd01ddc2521d (diff) |
QEventLoop: remove unnecessary bits of Qt 5 suggestion
Pick-to: 6.2
Change-Id: I2bbf422288924c198645fffd16a974803ab43b7f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qeventloop.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/kernel/qeventloop.cpp b/src/corelib/kernel/qeventloop.cpp index 8aa5a219fa..4e4fa11b30 100644 --- a/src/corelib/kernel/qeventloop.cpp +++ b/src/corelib/kernel/qeventloop.cpp @@ -195,9 +195,7 @@ int QEventLoop::exec(ProcessEventsFlags flags) if (exceptionCaught) { qWarning("Qt has caught an exception thrown from an event handler. Throwing\n" "exceptions from an event handler is not supported in Qt.\n" - "You must not let any exception whatsoever propagate through Qt code.\n" - "If that is not possible, in Qt 5 you must at least reimplement\n" - "QCoreApplication::notify() and catch all exceptions there.\n"); + "You must not let any exception whatsoever propagate through Qt code."); } locker.relock(); auto threadData = d->threadData.loadRelaxed(); |