From c43519c58a8f0cf496098c4d3b8deb05df919d01 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Jan 2018 02:05:09 +0000 Subject: wth --- src/frontend/gui/sisyphus-gui.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/frontend/gui/sisyphus-gui.py') 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) -- cgit v1.2.3