mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Removed needless PyQt signal overloading
After a PyQt5 update, dupeGuru wouldn't run anymore because it choked on signal overloading that weren't necessary.
This commit is contained in:
parent
781f13ae1a
commit
8b83ed0e5c
@ -27,7 +27,7 @@ class PreferencesDialogBase(QDialog):
|
||||
self._setupUi()
|
||||
|
||||
self.filterHardnessSlider.valueChanged['int'].connect(self.filterHardnessLabel.setNum)
|
||||
self.buttonBox.clicked['QAbstractButton*'].connect(self.buttonClicked)
|
||||
self.buttonBox.clicked.connect(self.buttonClicked)
|
||||
self.buttonBox.accepted.connect(self.accept)
|
||||
self.buttonBox.rejected.connect(self.reject)
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
from PyQt5.QtCore import Qt, QRect
|
||||
from PyQt5.QtWidgets import (QMainWindow, QMenu, QLabel, QFileDialog, QMenuBar, QWidget,
|
||||
QVBoxLayout, QAbstractItemView, QStatusBar, QDialog, QAction, QPushButton, QCheckBox)
|
||||
QVBoxLayout, QAbstractItemView, QStatusBar, QDialog, QPushButton, QCheckBox)
|
||||
|
||||
from hscommon.trans import trget
|
||||
from qtlib.util import moveToScreenCenter, horizontalWrap, createActions
|
||||
@ -29,7 +29,7 @@ class ResultWindow(QMainWindow):
|
||||
self.stats = StatsLabel(app.model.stats_label, self.statusLabel)
|
||||
self._update_column_actions_status()
|
||||
|
||||
self.menuColumns.triggered[QAction].connect(self.columnToggled)
|
||||
self.menuColumns.triggered.connect(self.columnToggled)
|
||||
self.resultsView.doubleClicked.connect(self.resultsDoubleClicked)
|
||||
self.resultsView.spacePressed.connect(self.resultsSpacePressed)
|
||||
self.detailsButton.clicked.connect(self.actionDetails.triggered)
|
||||
|
Loading…
x
Reference in New Issue
Block a user