summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-09-29 18:13:53 -0700
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-04 19:01:30 +0000
commitdfe98121e9bbc769d06949a7d2ec6e57ae86d0b7 (patch)
treefaa92ad783863d99c32988d55bbe66c1be97a8e7 /src
parent6219662bc8f250cf50785d1b4b2a97b552fc98e9 (diff)
QEventLoop: remove unnecessary bits of Qt 5 suggestion
Change-Id: I2bbf422288924c198645fffd16a974803ab43b7f Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 96a1da00d29b2367643c82f75be7cdc1dad3e2a0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qeventloop.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/kernel/qeventloop.cpp b/src/corelib/kernel/qeventloop.cpp
index 3dc06242a3..1d273d7145 100644
--- a/src/corelib/kernel/qeventloop.cpp
+++ b/src/corelib/kernel/qeventloop.cpp
@@ -199,9 +199,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();