mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -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
|
@ -93,8 +93,8 @@ UM.TooltipArea
|
|||
Connections
|
||||
{
|
||||
target: propertyProvider
|
||||
onContainerStackChanged: defaultOptionsModel.updateModel()
|
||||
onIsValueUsedChanged: defaultOptionsModel.updateModel()
|
||||
function onContainerStackChanged() { defaultOptionsModel.updateModel() }
|
||||
function onIsValueUsedChanged() { defaultOptionsModel.updateModel() }
|
||||
}
|
||||
|
||||
Cura.ComboBox
|
||||
|
|
|
@ -54,7 +54,7 @@ NumericTextFieldWithUnit
|
|||
Connections
|
||||
{
|
||||
target: textField
|
||||
onActiveFocusChanged:
|
||||
function onActiveFocusChanged()
|
||||
{
|
||||
// When this text field loses focus and the entered text is not valid, make sure to recreate the binding to
|
||||
// show the correct value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue