Fix code style

Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.

Contributes to issue CURA-5784.
This commit is contained in:
Ghostkeeper 2018-10-18 14:30:11 +02:00
parent a4c609d514
commit 1bcd134f85
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
24 changed files with 433 additions and 243 deletions

View file

@ -26,7 +26,7 @@ UM.MainWindow
UM.I18nCatalog
{
id: catalog
name:"cura"
name: "cura"
}
function showTooltip(item, position, text)
@ -236,7 +236,7 @@ UM.MainWindow
textRole: "name"
// update the model's active index
function updateItemActiveFlags ()
function updateItemActiveFlags()
{
currentIndex = getActiveIndex()
for (var i = 0; i < model.rowCount(); i++)
@ -316,7 +316,7 @@ UM.MainWindow
Loader
{
// A stage can control this area. If nothing is set, it will therefor show the 3D view.
// A stage can control this area. If nothing is set, it will therefore show the 3D view.
id: main
anchors