Fixed codestyle issue

Switching between codestyles is hard :(
This commit is contained in:
Jaime van Kessel 2018-09-03 10:05:20 +02:00
parent fb1033ad99
commit 2e5b11af9d
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class PrintJobOutputModel(QObject):
self.compatibleMachineFamiliesChanged.emit()
@pyqtProperty(QUrl, notify=previewImageChanged)
def preview_image_url(self):
def previewImageUrl(self):
self._preview_image_id += 1
# There is an image provider that is called "camera". In order to ensure that the image qml object, that
# requires a QUrl to function, updates correctly we add an increasing number. This causes to see the QUrl

View file

@ -480,7 +480,7 @@ Component
Image
{
id: printJobPreview
source: modelData.activePrintJob != null ? modelData.activePrintJob.preview_image_url : ""
source: modelData.activePrintJob != null ? modelData.activePrintJob.previewImageUrl : ""
anchors.top: ownerName.bottom
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width / 2

View file

@ -80,7 +80,7 @@ Item
Image
{
source: printJob.preview_image_url
source: printJob.previewImageUrl
anchors.top: ownerName.bottom
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: totalTimeLabel.bottom