1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Implemented super() inheritance style suggested by PyQt5

This commit is contained in:
Virgil Dupras
2013-10-20 15:53:59 -04:00
parent 664d630b96
commit 5a8cb6f5e3
25 changed files with 65 additions and 66 deletions

View File

@@ -29,8 +29,8 @@ SCAN_TYPE_ORDER = [
]
class PreferencesDialog(PreferencesDialogBase):
def __init__(self, parent, app):
PreferencesDialogBase.__init__(self, parent, app)
def __init__(self, parent, app, **kwargs):
super().__init__(parent, app, **kwargs)
self.scanTypeComboBox.currentIndexChanged[int].connect(self.scanTypeChanged)