Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KAlgebra
Commits
8d14ad73
Commit
8d14ad73
authored
Jul 06, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
Console: Add a space after the = for readability
parent
42c33a4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
mobile/content/ui/Console.qml
View file @
8d14ad73
...
...
@@ -113,7 +113,9 @@ Kirigami.ScrollablePage {
model
:
itemModel
delegate
:
Kirigami.Card
{
contentItem
:
QQC2.Label
{
text
:
model
.
result
}
contentItem
:
QQC2.Label
{
text
:
model
.
result
}
actions
:
[
Kirigami.Action
{
...
...
src/consolemodel.cpp
View file @
8d14ad73
...
...
@@ -82,7 +82,7 @@ bool ConsoleModel::addOperation(const Analitza::Expression& e, const QString& in
Q_EMIT
operationSuccessful
(
e
,
res
);
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
);
}
else
{
addMessage
(
i18n
(
"<ul class='error'>Error: <b>%1</b><li>%2</li></ul>"
,
input
.
toHtmlEscaped
(),
a
.
errors
().
join
(
QStringLiteral
(
"</li>
\n
<li>"
))),
{},
{});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment