QML Clean-up

Contributes to CL-897, CL-1051, CL-1111
This commit is contained in:
Ian Paschal 2018-10-23 15:41:56 +02:00
parent 1bd488dd6c
commit f9545a339d
4 changed files with 8 additions and 8 deletions

View file

@ -63,13 +63,13 @@ Item {
id: statusImage;
anchors.centerIn: parent;
color: "black"; // TODO: Theme!
height: 0.5 * parent.height;
height: Math.round(0.5 * parent.height);
source: job && job.state == "error" ? "../svg/aborted-icon.svg" : "";
sourceSize {
height: height;
width: width;
}
visible: source != "";
width: 0.5 * parent.width;
width: Math.round(0.5 * parent.width);
}
}