Changed order of inheritance.

Because the python new is stupid, it fails to notice the qObject if it's not defined first
This commit is contained in:
Jaime van Kessel 2016-06-14 11:50:59 +02:00
parent 18a1239443
commit 3777acd4cd

View File

@ -15,7 +15,7 @@ from UM.Signal import signalemitter
#
# For all other uses it should be used in the same way as a "regular" OutputDevice.
@signalemitter
class PrinterOutputDevice(OutputDevice, QObject):
class PrinterOutputDevice(QObject, OutputDevice):
def __init__(self, device_id, parent = None):
super().__init__(device_id = device_id, parent = parent)