mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Code style improvements
According to our guidelines: Brackets on new line, spaces around binary operators but not within brackets. Contributes to issue CURA-5035.
This commit is contained in:
parent
9a5fb47a6e
commit
0d66850bd4
2 changed files with 5 additions and 4 deletions
|
|
@ -75,7 +75,7 @@ Item
|
|||
{
|
||||
if (model.author_email)
|
||||
{
|
||||
return "<a href=\"mailto:"+model.author_email+"?Subject=Cura: "+model.name+"\">"+model.author_name+"</a>"
|
||||
return "<a href=\"mailto:" + model.author_email + "?Subject=Cura: " + model.name + "\">" + model.author_name + "</a>"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -87,7 +87,7 @@ Item
|
|||
wrapMode: Text.WordWrap
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
onLinkActivated: Qt.openUrlExternally("mailto:"+model.author_email+"?Subject=Cura: "+model.name+" Plugin")
|
||||
onLinkActivated: Qt.openUrlExternally("mailto:" + model.author_email + "?Subject=Cura: " + model.name + " Plugin")
|
||||
color: model.enabled ? UM.Theme.getColor("text") : UM.Theme.getColor("lining")
|
||||
}
|
||||
}
|
||||
|
|
@ -153,7 +153,7 @@ Item
|
|||
}
|
||||
else
|
||||
{
|
||||
toolbox.uninstall( model.id )
|
||||
toolbox.uninstall(model.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue