Undo statistics dialog tweak and just add more height.. Fix exception handling in version check

This commit is contained in:
Miguel Jacq 2025-11-24 15:36:14 +11:00
parent 632cdf5176
commit 164aa1eb83
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 4 additions and 4 deletions

View file

@ -249,7 +249,7 @@ class StatisticsDialog(QDialog):
self.setWindowTitle(strings._("statistics"))
self.setMinimumWidth(600)
self.setMinimumHeight(350)
self.setMinimumHeight(400)
root = QVBoxLayout(self)
(

View file

@ -144,7 +144,7 @@ class VersionChecker:
QMessageBox.warning(
self._parent,
strings._("update"),
strings._("could_not_check_for_updates") + e,
strings._("could_not_check_for_updates") + str(e),
)
return
@ -320,7 +320,7 @@ class VersionChecker:
QMessageBox.critical(
self._parent,
strings._("update"),
strings._("failed_to_download_update") + e,
strings._("failed_to_download_update") + str(e),
)
return
@ -334,7 +334,7 @@ class VersionChecker:
QMessageBox.critical(
self._parent,
strings._("update"),
strings._("could_not_read_bundled_gpg_public_key") + e,
strings._("could_not_read_bundled_gpg_public_key") + str(e),
)
# On failure, delete the downloaded files for safety
for p in (appimage_path, sig_path):