diff options
| author | Adrien Tétar | 2015-10-11 20:30:24 +0200 |
|---|---|---|
| committer | Adrien Tétar | 2015-10-11 20:30:24 +0200 |
| commit | aa512aece00819003eb25ee302e19f8ecb54583c (patch) | |
| tree | 3958508b33c7f5ed2fc9ec52e1f3a3b77fd7186b /Lib/defconQt/__main__.py | |
| parent | 9099a3460eacd1061340a8501be35b8ba86032e1 (diff) | |
| download | trufont-aa512aece00819003eb25ee302e19f8ecb54583c.tar.bz2 | |
meta: packaging changes
Diffstat (limited to 'Lib/defconQt/__main__.py')
| -rw-r--r-- | Lib/defconQt/__main__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/defconQt/__main__.py b/Lib/defconQt/__main__.py index 128b827..843a4fb 100644 --- a/Lib/defconQt/__main__.py +++ b/Lib/defconQt/__main__.py @@ -1,5 +1,5 @@ from defconQt.objects.defcon import TFont -from defconQt import representationFactories +from defconQt import icons_db, representationFactories from defconQt.fontView import Application, MainWindow import sys import os @@ -18,7 +18,7 @@ app = Application(sys.argv) # TODO: http://stackoverflow.com/a/21330349/2037879 app.setOrganizationName("A. Tétar & Co.") app.setApplicationName("TruFont") -app.setWindowIcon(QIcon("defconQt/resources/app.png")) +app.setWindowIcon(QIcon(":/resources/app.png")) window = MainWindow(font) window.show() sys.exit(app.exec_()) |
