Commit a468718c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more indent in dom xml

parent ad2ca79b
...@@ -81,7 +81,7 @@ int main(int argc, char **argv) ...@@ -81,7 +81,7 @@ int main(int argc, char **argv)
qDebug() << "bad"; qDebug() << "bad";
} }
KSieveUi::ParsingResultDialog dlg; KSieveUi::ParsingResultDialog dlg;
dlg.setResultParsing(psb.toDom().toString()); dlg.setResultParsing(psb.toDom().toString(2));
dlg.show(); dlg.show();
KSieveUi::AutoCreateScriptDialog *dialog = new KSieveUi::AutoCreateScriptDialog; KSieveUi::AutoCreateScriptDialog *dialog = new KSieveUi::AutoCreateScriptDialog;
......
...@@ -222,7 +222,7 @@ void SieveEditorTextModeWidget::generateXml() ...@@ -222,7 +222,7 @@ void SieveEditorTextModeWidget::generateXml()
const bool result = parser.parse(); const bool result = parser.parse();
QPointer<ParsingResultDialog> dlg = new ParsingResultDialog(this); QPointer<ParsingResultDialog> dlg = new ParsingResultDialog(this);
if (result) { if (result) {
dlg->setResultParsing(psb.toDom().toString()); dlg->setResultParsing(psb.toDom().toString(2));
} else { } else {
dlg->setResultParsing(i18n("Error during parsing")); dlg->setResultParsing(i18n("Error during parsing"));
} }
......
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