Uninstalled icons fix, Download tab fix
This commit is contained in:
parent
d0f4e3b7c3
commit
89269c6daa
2 changed files with 2 additions and 1 deletions
|
@ -304,6 +304,7 @@ class DownloadTab(QWidget):
|
||||||
self.dl_speed.setText("")
|
self.dl_speed.setText("")
|
||||||
self.cache_used.setText("")
|
self.cache_used.setText("")
|
||||||
self.downloaded.setText("")
|
self.downloaded.setText("")
|
||||||
|
self.time_left.setText("")
|
||||||
elif text == "error":
|
elif text == "error":
|
||||||
QMessageBox.warning(self, "warn", "Download error")
|
QMessageBox.warning(self, "warn", "Download error")
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ class IconWidgetUninstalled(BaseUninstalledWidget):
|
||||||
def __init__(self, game: Game, core: LegendaryCore, pixmap):
|
def __init__(self, game: Game, core: LegendaryCore, pixmap):
|
||||||
super(IconWidgetUninstalled, self).__init__(game, core, pixmap)
|
super(IconWidgetUninstalled, self).__init__(game, core, pixmap)
|
||||||
self.layout = QVBoxLayout()
|
self.layout = QVBoxLayout()
|
||||||
|
self.setObjectName("game_widget_icon")
|
||||||
if self.pixmap:
|
if self.pixmap:
|
||||||
w = 200
|
w = 200
|
||||||
self.pixmap = self.pixmap.scaled(w, int(w * 4 / 3))
|
self.pixmap = self.pixmap.scaled(w, int(w * 4 / 3))
|
||||||
|
|
Loading…
Reference in a new issue