diff options
author | Alex Merry <alex.merry@kde.org> | 2015-08-03 10:37:19 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-03 14:40:19 +0000 |
commit | 8fdd1e3867019fc62ee2bba3c8a892d8e701f8ed (patch) | |
tree | f4e0707e870e57d6602a5fd69f6a8dc49918574d /src/corelib/io/qfilesystemwatcher_win_p.h | |
parent | 5ba3309703bccc745c1c56ab8fe28529285aaca4 (diff) |
QLoggingCategory: fix default severity in Q_LOGGING_CATEGORY macro
[ChangeLog][QtCore][QLoggingCategory] Fixed behavior of default
severity passed to constructor or Q_LOGGING_CATEGORY with regards to
QtInfoMsg, which was previously treated as being more severe than
QtFatalMsg.
This is because the code was using the numeric value of QtMsgType as a
proxy for severity (via the <= operator), but the value of QtInfoMsg is
greater than QtFatalMsg. Instead, the severity ordering must be dealt
with explicitly.
Change-Id: I5f178afc735221b00cb67c2cea4fa964bd9079ce
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_win_p.h')
0 files changed, 0 insertions, 0 deletions