mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remove functions that are only used once.
Contributes to CURA-5786.
This commit is contained in:
parent
2dfd354b25
commit
6f2e8d726d
1 changed files with 2 additions and 6 deletions
|
|
@ -39,7 +39,7 @@ Column
|
||||||
{
|
{
|
||||||
property var printDuration: PrintInformation.currentPrintTime
|
property var printDuration: PrintInformation.currentPrintTime
|
||||||
|
|
||||||
function getTimeSpecifications()
|
text:
|
||||||
{
|
{
|
||||||
// All the time information for the different features is achieved
|
// All the time information for the different features is achieved
|
||||||
var printTime = PrintInformation.getFeaturePrintTimes()
|
var printTime = PrintInformation.getFeaturePrintTimes()
|
||||||
|
|
@ -60,8 +60,6 @@ Column
|
||||||
text += "</table>"
|
text += "</table>"
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
|
|
||||||
text: getTimeSpecifications()
|
|
||||||
width: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
width: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
font: UM.Theme.getFont("very_small")
|
font: UM.Theme.getFont("very_small")
|
||||||
|
|
@ -112,7 +110,7 @@ Column
|
||||||
return rowHTML
|
return rowHTML
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMaterialSpecifications()
|
text:
|
||||||
{
|
{
|
||||||
var lengths = []
|
var lengths = []
|
||||||
var weights = []
|
var weights = []
|
||||||
|
|
@ -153,8 +151,6 @@ Column
|
||||||
|
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
|
|
||||||
text: getMaterialSpecifications()
|
|
||||||
width: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
width: parent.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
font: UM.Theme.getFont("very_small")
|
font: UM.Theme.getFont("very_small")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue