mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -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
|
@ -334,13 +334,13 @@ Item
|
|||
Connections
|
||||
{
|
||||
target: inheritStackProvider
|
||||
onPropertiesChanged: provider.forcePropertiesChanged()
|
||||
function onPropertiesChanged() { provider.forcePropertiesChanged() }
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: UM.ActiveTool
|
||||
onPropertiesChanged:
|
||||
function onPropertiesChanged()
|
||||
{
|
||||
// the values cannot be bound with UM.ActiveTool.properties.getValue() calls,
|
||||
// so here we connect to the signal and update the those values.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue