Undo statistics dialog tweak and just add more height.. Fix exception handling in version check
This commit is contained in:
parent
632cdf5176
commit
164aa1eb83
2 changed files with 4 additions and 4 deletions
|
|
@ -249,7 +249,7 @@ class StatisticsDialog(QDialog):
|
||||||
|
|
||||||
self.setWindowTitle(strings._("statistics"))
|
self.setWindowTitle(strings._("statistics"))
|
||||||
self.setMinimumWidth(600)
|
self.setMinimumWidth(600)
|
||||||
self.setMinimumHeight(350)
|
self.setMinimumHeight(400)
|
||||||
root = QVBoxLayout(self)
|
root = QVBoxLayout(self)
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ class VersionChecker:
|
||||||
QMessageBox.warning(
|
QMessageBox.warning(
|
||||||
self._parent,
|
self._parent,
|
||||||
strings._("update"),
|
strings._("update"),
|
||||||
strings._("could_not_check_for_updates") + e,
|
strings._("could_not_check_for_updates") + str(e),
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
@ -320,7 +320,7 @@ class VersionChecker:
|
||||||
QMessageBox.critical(
|
QMessageBox.critical(
|
||||||
self._parent,
|
self._parent,
|
||||||
strings._("update"),
|
strings._("update"),
|
||||||
strings._("failed_to_download_update") + e,
|
strings._("failed_to_download_update") + str(e),
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
@ -334,7 +334,7 @@ class VersionChecker:
|
||||||
QMessageBox.critical(
|
QMessageBox.critical(
|
||||||
self._parent,
|
self._parent,
|
||||||
strings._("update"),
|
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
|
# On failure, delete the downloaded files for safety
|
||||||
for p in (appimage_path, sig_path):
|
for p in (appimage_path, sig_path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue