mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[view] fix: upgrade summary (not displaying the icon type for some applications)
This commit is contained in:
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
## [0.9.21] 2021
|
||||||
|
### Fixes
|
||||||
|
- UI
|
||||||
|
- upgrade summary: not displaying the icon type for some applications
|
||||||
|
|
||||||
## [0.9.20] 2021-11-05
|
## [0.9.20] 2021-11-05
|
||||||
### Improvements
|
### Improvements
|
||||||
- AppImage:
|
- AppImage:
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ class UpgradeSelected(AsyncAction):
|
|||||||
|
|
||||||
if not icon_path:
|
if not icon_path:
|
||||||
icon_path = req.pkg.get_type_icon_path()
|
icon_path = req.pkg.get_type_icon_path()
|
||||||
elif not os.path.isfile(icon_path) and QIcon.fromTheme(icon_path).isNull():
|
elif not os.path.isfile(icon_path) or QIcon.fromTheme(icon_path).isNull():
|
||||||
icon_path = req.pkg.get_type_icon_path()
|
icon_path = req.pkg.get_type_icon_path()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user