aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2021-01-10 13:50:51 +0100
committerPapoteur <papoteur@mageia.org>2021-01-10 13:50:51 +0100
commit5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa (patch)
treec735d7582b1a3b3a338cbf15152b0f2534238fc7 /mageiaSync
parente8c664c946cad6d092764ffee24d9973a4d54a89 (diff)
downloadMageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar
MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.gz
MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.bz2
MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.xz
MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.zip
Stop syncing when quitting
Diffstat (limited to 'mageiaSync')
-rw-r--r--mageiaSync/mageiasync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index a524702..068d779 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -400,8 +400,8 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
self.selectAllState=not self.selectAllState
def connectActions(self):
- self.actionQuit.triggered.connect(app.quit)
- self.quit.clicked.connect(app.quit)
+ self.actionQuit.triggered.connect(self.close)
+ self.quit.clicked.connect(self.close)
self.actionRename.triggered.connect(self.rename)
self.actionUpdate.triggered.connect(self.updateList)
self.actionCheck.triggered.connect(self.manualChecks)
@@ -578,7 +578,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
def close(self):
self.rsyncThread.stop()
- exit(0)
+ app.quit()
if __name__=='__main__':
app = QApplication(sys.argv)