Merge pull request #2200 from fieldOfView/fix_monitoritem_size

Adapt camera image to available space
This commit is contained in:
alekseisasin 2017-08-15 14:45:34 +02:00
parent da8b55cf62
commit 3116ff829c
3 changed files with 19 additions and 2 deletions

View file

@ -144,6 +144,9 @@ class PrinterOutputDevice(QObject, OutputDevice):
return self._control_item
def _createControlViewFromQML(self):
if not self._control_view_qml_path:
return
path = QUrl.fromLocalFile(self._control_view_qml_path)
# Because of garbage collection we need to keep this referenced by python.