diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-03 02:05:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-03 02:05:09 +0000 |
commit | c43519c58a8f0cf496098c4d3b8deb05df919d01 (patch) | |
tree | 6f396a0e08ee26edae14ed394901f9ef26da30bf /src/frontend | |
parent | 9b40ec2fa5748ede2d52cd0429d36b8a45217fac (diff) |
wth
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 093a57a..13a90f0 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -78,13 +78,13 @@ class Sisyphus(QtWidgets.QMainWindow): self.upgradeThread.finished.connect(self.jobDone) self.orphans.clicked.connect(self.orphansRemove) - self.orphanupdateWorker = OrphanupdateWorker() + self.orphansWorker = OrphansWorker() self.orphansThread = QtCore.QThread() - self.orphanupdateWorker.moveToThread(self.orphansThread) - self.orphanupdateWorker.started.connect(self.showProgressBar) - self.orphanupdateWorker.strReady.connect(self.updateStatusBar) - self.orphanupdateWorker.finished.connect(self.orphansThread.quit) - self.orphansThread.started.connect(self.orphanupdateWorker.cleanOrphans) + self.orphansWorker.moveToThread(self.orphansThread) + self.orphansWorker.started.connect(self.showProgressBar) + self.orphansWorker.strReady.connect(self.updateStatusBar) + self.orphansWorker.finished.connect(self.orphansThread.quit) + self.orphansThread.started.connect(self.orphansWorker.cleanOrphans) self.orphansThread.finished.connect(self.jobDone) self.updateSystem() @@ -356,7 +356,7 @@ class UpgradeWorker(QtCore.QObject): sync_sisyphus_local_packages_table_csv() self.finished.emit() -class OrphanupdateWorker(QtCore.QObject): +class OrphansWorker(QtCore.QObject): started = QtCore.pyqtSignal() finished = QtCore.pyqtSignal() strReady = QtCore.pyqtSignal(str) |