mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Fix QML warnings due to depricated on<signal> calls in Connections
As of 5.12, the signals used in connections should not be declared as on<signal>, but as function on<signal>(arguments).
This commit is contained in:
parent
a277adae64
commit
7827b36ab7
46 changed files with 113 additions and 122 deletions
|
@ -29,7 +29,7 @@ SettingItem
|
|||
Connections
|
||||
{
|
||||
target: base.extrudersWithOptionalModel
|
||||
onModelChanged: control.color = base.extrudersWithOptionalModel.getItem(control.currentIndex).color
|
||||
function onModelChanged() { control.color = base.extrudersWithOptionalModel.getItem(control.currentIndex).color }
|
||||
}
|
||||
|
||||
textRole: "name"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue