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:
authorGhostkeeper <rubend@tutanota.com>2021-01-04 17:19:17 +0300
committerGhostkeeper <rubend@tutanota.com>2021-01-04 20:11:00 +0300
commit4b375ce2fe70815ba2e07024c132b2bd11e1c226 (patch)
tree43c4d02709acd568d11f4a30b2d4622e4055f46c /resources/qml/Cura.qml
parente5038ab46dc6b5d43a3a9d575f74bbf3b21ee6f0 (diff)
Remove unused hasMesh signal
This is logic that shouldn't be in QML anyway. It's not used by anything at this point. Let's remove it. Contributes to issue CURA-7868.
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r--resources/qml/Cura.qml11
1 files changed, 1 insertions, 10 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml
index 9f24d91caf..bb7b5ac19c 100644
--- a/resources/qml/Cura.qml
+++ b/resources/qml/Cura.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2020 Ultimaker B.V.
+// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7
@@ -149,15 +149,6 @@ UM.MainWindow
id: backgroundItem
anchors.fill: parent
- signal hasMesh(string name) //this signal sends the filebase name so it can be used for the JobSpecs.qml
- function getMeshName(path)
- {
- //takes the path the complete path of the meshname and returns only the filebase
- var fileName = path.slice(path.lastIndexOf("/") + 1)
- var fileBase = fileName.slice(0, fileName.indexOf("."))
- return fileBase
- }
-
//DeleteSelection on the keypress backspace event
Keys.onPressed:
{