Remove unused function

No longer used due to fix for setting rework.

Contributes to issues CURA-1278 and CURA-1288.
This commit is contained in:
Ghostkeeper 2016-05-23 16:47:22 +02:00
parent c8de272ec4
commit 9217dd3e1b

View file

@ -221,15 +221,6 @@ class CuraEngineBackend(Backend):
if error.getErrorCode() not in [Arcus.ErrorCode.BindFailedError, Arcus.ErrorCode.ConnectionResetError, Arcus.ErrorCode.Debug]:
Logger.log("e", "A socket error caused the connection to be reset")
def _onActiveProfileChanged(self):
if self._profile:
self._profile.settingValueChanged.disconnect(self._onSettingChanged)
self._profile = Application.getInstance().getMachineManager().getWorkingProfile()
if self._profile:
self._profile.settingValueChanged.connect(self._onSettingChanged)
self._onChanged()
## A setting has changed, so check if we must reslice.
#
# \param instance The setting instance that has changed.