Commit 8d14ad73 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Console: Add a space after the = for readability

parent 42c33a4f
...@@ -113,7 +113,9 @@ Kirigami.ScrollablePage { ...@@ -113,7 +113,9 @@ Kirigami.ScrollablePage {
model: itemModel model: itemModel
delegate: Kirigami.Card { delegate: Kirigami.Card {
contentItem: QQC2.Label { text: model.result } contentItem: QQC2.Label {
text: model.result
}
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
......
...@@ -82,7 +82,7 @@ bool ConsoleModel::addOperation(const Analitza::Expression& e, const QString& in ...@@ -82,7 +82,7 @@ bool ConsoleModel::addOperation(const Analitza::Expression& e, const QString& in
Q_EMIT operationSuccessful(e, res); Q_EMIT operationSuccessful(e, res);
const auto result = res.toHtml(); const auto result = res.toHtml();
addMessage(QStringLiteral("<a title='%1' href='kalgebra:/query?id=copy&func=%2'><span class='exp'>%3</span></a><br />=<a title='kalgebra:%1' href='kalgebra:/query?id=copy&func=%4'><span class='result'>%5</span></a>") addMessage(QStringLiteral("<a title='%1' href='kalgebra:/query?id=copy&func=%2'><span class='exp'>%3</span></a><br />= <a title='kalgebra:%1' href='kalgebra:/query?id=copy&func=%4'><span class='result'>%5</span></a>")
.arg(i18n("Paste to Input"), e.toString(), e.toHtml(), res.toString(), result), e, res); .arg(i18n("Paste to Input"), e.toString(), e.toHtml(), res.toString(), result), e, res);
} else { } else {
addMessage(i18n("<ul class='error'>Error: <b>%1</b><li>%2</li></ul>", input.toHtmlEscaped(), a.errors().join(QStringLiteral("</li>\n<li>"))), {}, {}); addMessage(i18n("<ul class='error'>Error: <b>%1</b><li>%2</li></ul>", input.toHtmlEscaped(), a.errors().join(QStringLiteral("</li>\n<li>"))), {}, {});
......
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