Skip to content

Commit

Permalink
window icon set on application
Browse files Browse the repository at this point in the history
  • Loading branch information
Trilarion committed Jul 16, 2017
1 parent 875f8b4 commit f3e105e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/imperialism_remake/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# set geometry
self.setGeometry(tools.get_option(constants.Option.MAINWINDOW_BOUNDS))
# set icon
self.setWindowIcon(tools.load_ui_icon('window.icon.ico'))
# set title
self.setWindowTitle('Imperialism Remake')

Expand Down Expand Up @@ -434,6 +432,9 @@ def start_client():
style_sheet = file.read()
app.setStyleSheet(style_sheet)

# set icon
app.setWindowIcon(tools.load_ui_icon('window.icon.ico'))

# setup sound system
audio.load_soundtrack_playlist()
audio.setup_soundtrack_player()
Expand Down

0 comments on commit f3e105e

Please sign in to comment.