diff options
| author | Kai Koehne <kai.koehne@digia.com> | 2014-02-21 11:39:12 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 13:26:14 +0100 |
| commit | b3871dc8049819ae3e095555f451457567eb4ee3 (patch) | |
| tree | 8708c19f75e3022ff25ef74047c051b52c1a9682 /src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp | |
| parent | f6d0c67d30ef1c22b086641e8d1288e1baaa1663 (diff) | |
Make parsing of categories in logging rules consistent.
The documentation says that the left side of a logging rule has the syntax
<category>[.<type>]
with optional wildcard '*' as the first or the last character (or at
both positions.
However, so far we didn't allow
qt.*.debug
But what we did allow is implicit dropping of trailing '.', e.g.
qt.* matched also 'qt'
Fix these by splitting up the '.type' in advance, and then do string
matching only on the 'real' category names.
Change-Id: Iab50ad0fc673464e870f5ab8dfb3245d829b3107
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
