Commit 30df4111 authored by Laurent Montel's avatar Laurent Montel 😁

coding style

parent 57f05b7c
......@@ -124,7 +124,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
#if 1
QTest::newRow("test-foreach") << QStringLiteral("test-foreach") << false << true;
QTest::newRow("not-condition") << QStringLiteral("not-condition") << false << true;
QTest::newRow("not-condition") << QStringLiteral("not-condition") << false << true;
QTest::newRow("test-envelop-without-part") << QStringLiteral("test-envelop-without-part") << false << true;
QTest::newRow("include") << QStringLiteral("include") << false << true;
QTest::newRow("notify") << QStringLiteral("notify") << false << true;
......
......@@ -383,7 +383,6 @@ void SieveActionWidgetLister::loadScript(QXmlStreamReader &element, bool onlyAct
//nothing
} else {
qCDebug(LIBKSIEVE_LOG) << " SieveActionWidgetLister::loadScript don't have name attribute " << tagName;
}
} else {
qCDebug(LIBKSIEVE_LOG) << " SieveActionWidgetLister::loadScript Unknow tag name " << tagName;
......@@ -429,5 +428,4 @@ void SieveActionWidgetLister::loadScript(QXmlStreamReader &element, bool onlyAct
}
}
}
}
......@@ -406,5 +406,4 @@ void SieveConditionWidgetLister::loadScript(QXmlStreamReader &element, bool uniq
}
}
}
}
......@@ -331,5 +331,4 @@ bool SieveGlobalVariableLister::loadSetVariable(QXmlStreamReader &element, QStri
}
}
return globalVariableFound;
}
......@@ -114,7 +114,6 @@ void SieveIncludeActionWidget::loadScript(QXmlStreamReader &element, QString &er
qCDebug(LIBKSIEVE_LOG) << " SieveIncludeActionWidget::loadScript unknown tagName " << tagName;
}
}
}
void SieveIncludeActionWidget::generatedScript(QString &script)
......
......@@ -285,5 +285,4 @@ void SieveScriptBlockWidget::loadScript(QXmlStreamReader &element, bool onlyActi
}
}
}
}
......@@ -416,7 +416,7 @@ void SieveScriptListBox::loadBlock(QXmlStreamReader &n, SieveScriptPage *current
currentPage = nullptr;
}
if (n.attributes().hasAttribute(QStringLiteral("name"))) {
const QString controlType =n.attributes().value(QStringLiteral("name")).toString();
const QString controlType = n.attributes().value(QStringLiteral("name")).toString();
//qCDebug(LIBKSIEVE_LOG)<<" controlType"<<controlType;
if (controlType == QLatin1String("if")) {
typeBlock = TypeBlockIf;
......
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