[fix][ui] not displaying icons retrieved from a HTTP redirect

This commit is contained in:
Vinícius Moreira
2020-01-31 13:11:47 -03:00
parent 7f1cbb93f5
commit 016e81af3a
2 changed files with 2 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- **About** window icons scaling
- Toolbar buttons get hidden [#5](https://github.com/vinifmor/bauh/issues/5)
- minor bug fixes
- not displaying icons retrieved from a HTTP redirect
### UI
- **Style selector** and **Application types** action moved to the new **Settings panel**

View File

@@ -196,8 +196,7 @@ class AppsTable(QTableWidget):
self.window.install(pkgv)
def _load_icon_and_cache(self, http_response: QNetworkReply):
icon_url = http_response.url().toString()
icon_url = http_response.request().url().toString()
icon_data = self.icon_cache.get(icon_url)
icon_was_cached = True