From 0268bf3f569c18072ff386326a7ba49acca58e3a Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Tue, 23 Aug 2016 13:18:20 +0200 Subject: [PATCH] Cleanup. CURA-2007 --- resources/qml/Settings/SettingItem.qml | 4 ---- resources/qml/Settings/SettingTextField.qml | 3 --- 2 files changed, 7 deletions(-) diff --git a/resources/qml/Settings/SettingItem.qml b/resources/qml/Settings/SettingItem.qml index c30318defb..449a244b80 100644 --- a/resources/qml/Settings/SettingItem.qml +++ b/resources/qml/Settings/SettingItem.qml @@ -27,8 +27,6 @@ Item { // Create properties to put property provider stuff in (bindings break in qt 5.5.1 otherwise) property var state: propertyProvider.properties.state - property var value: propertyProvider.properties.value - property var globalValue: globalPropertyProvider.properties.value property var resolve: propertyProvider.properties.resolve property var stackLevels: propertyProvider.stackLevels property var stackLevel: stackLevels[0] @@ -157,8 +155,6 @@ Item { var tooltipText = catalog.i18nc("@label", "This setting is always shared between all extruders. Changing it here will change the value for all extruders") + "."; if ((resolve != "None") && (stackLevel != 0)) { // We come here if a setting has a resolve and the setting is not manually edited. - // Individual value does not work yet. - tooltipText += " " + catalog.i18nc("@label", "The value is resolved from per-extruder values ") + "[" + ExtruderManager.getInstanceExtruderValues(definition.key) + "]."; } base.showTooltip(tooltipText); diff --git a/resources/qml/Settings/SettingTextField.qml b/resources/qml/Settings/SettingTextField.qml index 2e47fbc821..389c91f6e4 100644 --- a/resources/qml/Settings/SettingTextField.qml +++ b/resources/qml/Settings/SettingTextField.qml @@ -107,9 +107,6 @@ SettingItem target: input property: "text" value: { - if (definition.key === "material_bed_temperature") { - CuraApplication.log("## " + propertyProvider.properties.resolve + " " + stackLevel); - } if ((propertyProvider.properties.resolve != "None") && (stackLevel != 0)) { // We have a resolve function. Indicates that the setting is not settable per extruder and that // we have to choose between the resolved value (default) and the global value