Add missing typing

CURA-6983
This commit is contained in:
Jaime van Kessel 2020-01-15 16:47:58 +01:00
parent f12501aec4
commit 0f7f39745d
No known key found for this signature in database
GPG key ID: 3710727397403C91
8 changed files with 36 additions and 48 deletions

View file

@ -3,13 +3,14 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
# Model for the ToolboxLicenseDialog
class LicenseModel(QObject):
dialogTitleChanged = pyqtSignal()
headerChanged = pyqtSignal()
licenseTextChanged = pyqtSignal()
def __init__(self):
def __init__(self) -> None:
super().__init__()
self._current_page_idx = 0
@ -44,7 +45,7 @@ class LicenseModel(QObject):
self._current_page_idx = idx
self._updateDialogTitle()
def setPageCount(self, count: int):
def setPageCount(self, count: int) -> None:
self._page_count = count
self._updateDialogTitle()