From 697caa7daa3fc184f961cf0ad6a642f4eefdcc60 Mon Sep 17 00:00:00 2001 From: Iceflower Date: Sun, 13 Dec 2020 20:10:28 +0100 Subject: [PATCH] [gui] Disable self updater --- mp3monitoring/gui/dialog/about.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mp3monitoring/gui/dialog/about.py b/mp3monitoring/gui/dialog/about.py index b91bfbe..e033b64 100644 --- a/mp3monitoring/gui/dialog/about.py +++ b/mp3monitoring/gui/dialog/about.py @@ -24,9 +24,9 @@ def __init__(self, parent): # set logo self.logo.setPixmap(QIcon(str(pkg_data.LOGO)).pixmap(QSize(250, 250))) - self._update_app_runner = UpdateAppThread() - self._update_app_runner.finished.connect(self.update_app_check) - self.update_now.clicked.connect(self.update_app) + #self._update_app_runner = UpdateAppThread() + #self._update_app_runner.finished.connect(self.update_app_check) + #self.update_now.clicked.connect(self.update_app) self.update_now.hide() self.update_status.setPixmap(QIcon(str(pkg_data.WAIT_SYMBOL)).pixmap(QSize(self.update_info.height() * 0.8, self.update_info.height() * 0.8))) @@ -53,8 +53,8 @@ def change_update_check(self): if self._update_check_runner.update_available: self.update_status.setPixmap(QIcon(str(pkg_data.WARNING_SYMBOL)).pixmap(QSize(self.update_info.height() * 0.8, self.update_info.height() * 0.8))) self.update_info.setText("An Update is available.") - self.update_now.show() + #self.update_now.show() else: self.update_status.setPixmap(QIcon(str(pkg_data.OK_SYMBOL)).pixmap(QSize(self.update_info.height() * 0.8, self.update_info.height() * 0.8))) self.update_info.setText("MP3 Monitoring is up to date.") - self.update_now.hide() + #self.update_now.hide()