mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Remove deprecated PrinterOutputDevice.setAcceptsCommands
CURA-6858
This commit is contained in:
parent
227b76d6f0
commit
43ee68bdc7
1 changed files with 0 additions and 5 deletions
|
@ -10,7 +10,6 @@ from UM.Logger import Logger
|
|||
from UM.Signal import signalemitter
|
||||
from UM.Qt.QtApplication import QtApplication
|
||||
from UM.FlameProfiler import pyqtSlot
|
||||
from UM.Decorators import deprecated
|
||||
from UM.i18n import i18nCatalog
|
||||
from UM.OutputDevice.OutputDevice import OutputDevice
|
||||
|
||||
|
@ -203,10 +202,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
def acceptsCommands(self) -> bool:
|
||||
return self._accepts_commands
|
||||
|
||||
@deprecated("Please use the protected function instead", "3.2")
|
||||
def setAcceptsCommands(self, accepts_commands: bool) -> None:
|
||||
self._setAcceptsCommands(accepts_commands)
|
||||
|
||||
## Set a flag to signal the UI that the printer is not (yet) ready to receive commands
|
||||
def _setAcceptsCommands(self, accepts_commands: bool) -> None:
|
||||
if self._accepts_commands != accepts_commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue