From 460f63c95d831eab09f3c79ef84275c0a2fd968b Mon Sep 17 00:00:00 2001 From: DolicaAkelloEgwel Date: Tue, 9 Apr 2019 14:44:35 +0100 Subject: [PATCH] tidying --- resources/Qtmodels/AnimatedEntity.qml | 1 - resources/Qtmodels/ComponentControls.qml | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/Qtmodels/AnimatedEntity.qml b/resources/Qtmodels/AnimatedEntity.qml index 8bc677772..d731c334d 100644 --- a/resources/Qtmodels/AnimatedEntity.qml +++ b/resources/Qtmodels/AnimatedEntity.qml @@ -10,7 +10,6 @@ Entity { property InstrumentModel instrument property alias camera: camera - property real negativeOne: -1.0 Camera { id: camera diff --git a/resources/Qtmodels/ComponentControls.qml b/resources/Qtmodels/ComponentControls.qml index f092753b2..a772ba39c 100644 --- a/resources/Qtmodels/ComponentControls.qml +++ b/resources/Qtmodels/ComponentControls.qml @@ -206,11 +206,7 @@ Pane { anchors.top: editorButton.top anchors.right: parent.right text: "Delete" - onClicked: { - console.log("Gonna delete something.") - components.remove_component(index) - console.log("Done deleting something.") - } + onClicked: components.remove_component(index) buttonEnabled: removable // The sample (at index 0) should never be removed. Don't even show it as an option. visible: index != 0