summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.h
diff options
context:
space:
mode:
authorKevin Ottens <ervin@kde.org>2013-10-09 13:06:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-10 09:37:33 +0200
commitc657bb7b51115d6e1719166fb502bb0ca1dcf4e8 (patch)
tree0ea8f7d5bdb6fde5a6931f995af2028280caa673 /src/corelib/global/qlibraryinfo.h
parent5466eb289f96f9dc9e16604ebddd07a4767254db (diff)
Make sure QLoggingCategory default is available
This avoids crashes in case where qWarning() would be called from a global static deleted after the one holding the default category. I encountered this case with a QLockFile locked from a global static while the application quits, it was calling qAppName which was triggering a qWarning as the qapplication object was gone too. Change-Id: I8910e8559d063e8f0a737bae3da5edc481ab84d3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.h')
0 files changed, 0 insertions, 0 deletions