Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
[gui] Disable self updater
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Dec 13, 2020
1 parent 36dba77 commit 697caa7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mp3monitoring/gui/dialog/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand All @@ -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()

0 comments on commit 697caa7

Please sign in to comment.