Skip to content

Commit

Permalink
Icon seems to be working somewhat :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeolitus committed Mar 7, 2018
1 parent 1ce5d83 commit 5e271cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Sephrasto.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@author: Aeolitus
"""
from PyQt5 import QtWidgets, QtCore
from PyQt5 import QtWidgets, QtCore, QtGui
import sys
import MainWindow
import CharakterEditor
Expand Down Expand Up @@ -48,6 +48,9 @@ def __init__(self):
self.ui.buttonEdit.clicked.connect(self.editExisting)
self.ui.buttonRules.clicked.connect(self.editRuleset)
self.ui.labelVersion.setText(self._version_ + " - by Aeolitus ")

self.app.setWindowIcon(QtGui.QIcon('icon_large.png'))

self.Form.show()
sys.exit(self.app.exec_())

Expand Down
4 changes: 3 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ C:\Users\Lennart\Desktop\Sephrasto\Build\Library\plugins\platforms
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\datenbank.xml C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\Charakterbogen.pdf C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\Gebrauchsanleitung.pdf C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\ExtraSpells.pdf C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\ExtraSpells.pdf C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\icon_large.png C:\Users\Lennart\Desktop\Sephrasto\Build
COPY /Y C:\Users\Lennart\Desktop\Sephrasto\icon_multi.ico C:\Users\Lennart\Desktop\Sephrasto\Build
Binary file added icon_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e271cb

Please sign in to comment.