diff options
author | Marco Martin <notmart@gmail.com> | 2017-04-11 14:11:22 +0200 |
---|---|---|
committer | Marco Martin <notmart@gmail.com> | 2017-04-11 14:11:22 +0200 |
commit | 4b95cfe79b2a3b005b47d2d8e0b4a4bc9344196a (patch) | |
tree | 45ed4b2c776f42136ad3256f1a187b37af913fd5 /common/log.cpp | |
parent | fc608f64ceaf6c040564f5c572c4ff600d76be7e (diff) | |
download | sink-4b95cfe79b2a3b005b47d2d8e0b4a4bc9344196a.tar.gz sink-4b95cfe79b2a3b005b47d2d8e0b4a4bc9344196a.zip |
handle all enum values
fix build, add a default handler in the switch
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/log.cpp b/common/log.cpp index 9dd0365..045b3cc 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -200,6 +200,8 @@ QByteArrayList Sink::Log::debugOutputFilter(FilterType type) | |||
200 | return config()->value("applicationfilter").value<QByteArrayList>(); | 200 | return config()->value("applicationfilter").value<QByteArrayList>(); |
201 | case Area: | 201 | case Area: |
202 | return config()->value("areafilter").value<QByteArrayList>(); | 202 | return config()->value("areafilter").value<QByteArrayList>(); |
203 | default: | ||
204 | return QByteArrayList(); | ||
203 | } | 205 | } |
204 | } | 206 | } |
205 | 207 | ||