Revert "Add enabled state to printer, so that it can be displayed."

This reverts commit dd778f0450.
This commit is contained in:
Jaime van Kessel 2018-09-04 13:42:24 +02:00
parent dd778f0450
commit 132366fa61
4 changed files with 1 additions and 25 deletions

View file

@ -192,18 +192,7 @@ Component
Label
{
id: activeJobLabel
text:
{
if(!modelData.enabled)
{
return catalog.i18nc("@label:status", "Not available")
}
if(modelData.activePrintjob != null)
{
return modelData.activePrintJob.name
}
return catalog.i18nc("@label:status", "Waiting")
}
text: modelData.activePrintJob != null ? modelData.activePrintJob.name : "waiting"
anchors.top: machineNameLabel.bottom
width: parent.width
elide: Text.ElideRight