add background image on empty page

This commit is contained in:
Maxime Réaux 2026-02-26 21:36:58 +01:00
parent ea6ec02f3b
commit d72c9902d4
16 changed files with 123 additions and 102 deletions

View file

@ -12,7 +12,7 @@ class PlayerDialog(QDialog):
self.ui: Ui_playerDialog = Ui_playerDialog()
self.ui.setupUi(self) # type: ignore
self.ui.playerName.setText(default_name)
self.setWindowIcon(Icons.get(IconName.WARCHRON))
self.setWindowIcon(Icons.get(IconName.WARCHRONICO))
def get_player_name(self) -> str:
return self.ui.playerName.text().strip()