mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-26 21:17:29 +02:00
Modernize to python-3.9+ with pyupgrade (--py39-plus)
This commit is contained in:
parent
22b2161ddd
commit
41738f7f40
26 changed files with 148 additions and 157 deletions
|
@ -21,7 +21,7 @@ class QmlInstantEngine(QQmlApplicationEngine):
|
|||
watching -- Defines whether the watcher is active (default: True)
|
||||
verbose -- if True, output log infos (default: False)
|
||||
"""
|
||||
super(QmlInstantEngine, self).__init__(parent)
|
||||
super().__init__(parent)
|
||||
|
||||
self._fileWatcher = QFileSystemWatcher() # Internal Qt File Watcher
|
||||
self._sourceFile = ""
|
||||
|
@ -51,7 +51,7 @@ class QmlInstantEngine(QQmlApplicationEngine):
|
|||
|
||||
def load(self, sourceFile):
|
||||
self._sourceFile = sourceFile
|
||||
super(QmlInstantEngine, self).load(sourceFile)
|
||||
super().load(sourceFile)
|
||||
|
||||
def setWatching(self, watchValue):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue