Commit d6f6c5b8 authored by Laurent Montel's avatar Laurent Montel 😁

Fix compile warning

parent 9c428d38
......@@ -87,6 +87,7 @@ void CustomDebugSettingsPage::fillList(const LoggingCategory::List &list)
QString ruleStr;
ruleStr = cat.logName;
switch (cat.loggingType) {
case LoggingCategory::Undefined:
case LoggingCategory::All:
break;
case LoggingCategory::Info:
......
......@@ -66,6 +66,7 @@ QString LoggingCategory::createCustomRule()
str = logName + QStringLiteral(".critical=%1\n").arg(enabled ? QStringLiteral("true") : QStringLiteral("false"));
break;
}
case Undefined:
case Off: {
str = QString();
break;
......@@ -79,6 +80,9 @@ QString LoggingCategory::createRule()
{
QString str;
switch (loggingType) {
case Undefined: {
break;
}
case All: {
str = logName + QLatin1String("=true\n");
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment