From 3bdc780bd3eaa204b1df5d5e6727a876d5967401 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 2 Dec 2011 19:07:13 +0100 Subject: a really, really big commit --- src/main.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py index 1ef7039..e6b72d2 100644 --- a/src/main.py +++ b/src/main.py @@ -1,16 +1,12 @@ from common import * class KP: - @staticmethod - def newMap(): - from mapdata import KPMap - KP.map = KPMap() - @staticmethod def run(): KP.app = QtGui.QApplication(sys.argv) - KP.newMap() + from mapdata import KPMap + KP.map = KPMap() from ui import KPMainWindow @@ -18,7 +14,7 @@ class KP: KP.mainWindow.show() KP.app.exec_() - + @classmethod def icon(cls, name): -- cgit v1.2.3