Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostas Karmas <konskarm@gmail.com>2021-03-30 09:46:14 +0300
committerKostas Karmas <konskarm@gmail.com>2021-03-30 10:02:48 +0300
commit7827b36ab75ecaa9e78c0d8213f8f7280e660ae0 (patch)
tree6dbe9d71ec51bf40e5658486098f7b1ef7dbe764 /resources/qml/ActionPanel/SliceProcessWidget.qml
parenta277adae64c867cdbb07858b1b04f9e87a620d06 (diff)
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).
Diffstat (limited to 'resources/qml/ActionPanel/SliceProcessWidget.qml')
-rw-r--r--resources/qml/ActionPanel/SliceProcessWidget.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/ActionPanel/SliceProcessWidget.qml b/resources/qml/ActionPanel/SliceProcessWidget.qml
index 40e76826ca..dbbfe784ef 100644
--- a/resources/qml/ActionPanel/SliceProcessWidget.qml
+++ b/resources/qml/ActionPanel/SliceProcessWidget.qml
@@ -127,7 +127,7 @@ Column
Connections
{
target: UM.Preferences
- onPreferenceChanged:
+ function onPreferenceChanged(preference)
{
if (preference !== "general/auto_slice")
{