diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-07-16 14:49:19 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-07-25 22:18:49 +0000 |
commit | 25d6f312ac5b42a6bbca4d1c3c06742d97283e14 (patch) | |
tree | 59fc8c03bd872c4fe0a162dda09c6c2d9f271f2b /src/corelib/global/qglobal.cpp | |
parent | c0aaef30b176f1be7f11bd3a7c1c7aff34491df7 (diff) |
qFatal: unify the code path for aborting via std::abort
[ChangeLog][QtCore][Important behavior changes] qFatal will now
use std::abort to terminate the application on all operating
systems. Previously, ::abort() or ::exit(1) were called, depending
on the operating system.
Change-Id: I43da912cce1db3c2229568da25000ea80060eed9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 55b3fde55e..03216358aa 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -4479,7 +4479,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters) On QNX the message is sent to slogger2 If you are using the \b{default message handler} this function will - abort on Unix systems to create a core dump. On Windows, for debug builds, + abort to create a core dump. On Windows, for debug builds, this function will report a _CRT_ERROR enabling you to connect a debugger to the application. |