Adding sources for icons for macOS when they're not fetched for some reason.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2021-08-16 20:13:55 +02:00
parent 7a70f50ab8
commit 9ab61a9c0f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
4 changed files with 5 additions and 0 deletions

View file

@ -92,6 +92,7 @@ MenuBar {
visible: Objects.types[modelData].createable()
height: visible ? implicitHeight : 0
icon.name: modelData
icon.source: './icons/' + modelData + '.svg'
icon.color: sysPalette.windowText
onTriggered: {
var newObj = Objects.createNewRegisteredObject(modelData)

View file

@ -47,6 +47,7 @@ Column {
height: visible ? implicitHeight : 0
display: AbstractButton.TextUnderIcon
icon.name: modelData
icon.source: '../icons/' + modelData + '.svg'
icon.width: 24
icon.height: 24
icon.color: sysPalette.windowText

View file

@ -128,6 +128,7 @@ ListView {
anchors.rightMargin: 5
anchors.topMargin: 5
icon.name: 'position'
icon.source: '../icons/position.svg'
property bool hasXProp: Objects.types[objType].properties().hasOwnProperty('x')
property bool hasYProp: Objects.types[objType].properties().hasOwnProperty('y')
visible: hasXProp || hasYProp
@ -154,6 +155,7 @@ ListView {
anchors.rightMargin: 5
anchors.topMargin: 5
icon.name: 'delete'
icon.source: '../icons/delete.svg'
ToolTip.visible: hovered
ToolTip.text: 'Delete ' + Objects.types[objType].displayType() + '.'

View file

@ -0,0 +1 @@
./settings/custom/position.svg