From 4b95cfe79b2a3b005b47d2d8e0b4a4bc9344196a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 11 Apr 2017 14:11:22 +0200 Subject: handle all enum values fix build, add a default handler in the switch --- common/log.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/log.cpp') 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) return config()->value("applicationfilter").value(); case Area: return config()->value("areafilter").value(); + default: + return QByteArrayList(); } } -- cgit v1.2.3