summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-03 02:05:09 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-03 02:05:09 +0000
commitc43519c58a8f0cf496098c4d3b8deb05df919d01 (patch)
tree6f396a0e08ee26edae14ed394901f9ef26da30bf /src
parent9b40ec2fa5748ede2d52cd0429d36b8a45217fac (diff)
wth
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py14
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)