mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 15:08:58 +08:00
Remove functions that are only used once.
Contributes to CURA-5786.
This commit is contained in:
parent
2dfd354b25
commit
6f2e8d726d
@ -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…
x
Reference in New Issue
Block a user