Remove get/setSettingValue from CuraApplication

They are unused and should not be used anyway
This commit is contained in:
Arjen Hiemstra 2016-05-16 17:46:22 +02:00
parent adc699c63b
commit 08afad8973

View File

@ -511,20 +511,6 @@ class CuraApplication(QtApplication):
def expandedCategories(self):
return Preferences.getInstance().getValue("cura/categories_expanded").split(";")
@pyqtSlot(str, result = "QVariant")
def getSettingValue(self, key):
if not self._global_container_stack:
return None
return self._global_container_stack.getValue(key)
## Change setting by key value pair
@pyqtSlot(str, "QVariant")
def setSettingValue(self, key, value):
if not self.getMachineManager().getWorkingProfile():
return
self.getMachineManager().getWorkingProfile().setSettingValue(key, value)
@pyqtSlot()
def mergeSelected(self):
self.groupSelected()