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

Skip laod

parent 719ad72a
......@@ -90,6 +90,7 @@ bool SieveActionKeep::setParamWidgetValue(QXmlStreamReader &element, QWidget *w,
flagsWidget->setFlags(QStringList() << element.readElementText());
} else if (tagName == QLatin1String("tag") && element.readElementText() == QLatin1String("flags")) {
//nothing :)
//Don't skip here.
} else if (tagName == QLatin1String("crlf")) {
element.skipCurrentElement();
//nothing
......
......@@ -110,6 +110,7 @@ void SieveForEveryPartWidget::loadScript(QXmlStreamReader &element, QString &err
//It's when name is empty
} else if (tagName == QLatin1String("crlf")) {
//Nothing
element.skipCurrentElement();
} else {
error += i18n("Unknown tag \"%1\" during loading loop \"for\"", tagName.toString()) + QLatin1Char('\n');
qCDebug(LIBKSIEVE_LOG) << " SieveForEveryPartWidget::loadScript unknown tagName " << tagName;
......
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