Qt5->Qt6: More renamed stuff.

part of CURA-8591
This commit is contained in:
Remco Burema 2021-12-29 11:18:49 +01:00
parent 97da0b9183
commit 20b435af76
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
19 changed files with 42 additions and 42 deletions

View file

@ -8,7 +8,7 @@ from typing import Tuple
class PrintJobPreviewImageProvider(QQuickImageProvider):
def __init__(self):
super().__init__(QQuickImageProvider.Image)
super().__init__(QQuickImageProvider.ImageType.Image)
def requestImage(self, id: str, size: QSize) -> Tuple[QImage, QSize]:
"""Request a new image.