summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-12-02 19:07:13 +0100
committerTreeki <treeki@gmail.com>2011-12-02 19:07:13 +0100
commit3bdc780bd3eaa204b1df5d5e6727a876d5967401 (patch)
tree411f4300356797effc38bb5e599e9dff1a02d1dd /src/main.py
parentcbadd29918da648190cd609130f808e11cf01a25 (diff)
downloadkoopatlas-3bdc780bd3eaa204b1df5d5e6727a876d5967401.tar.gz
koopatlas-3bdc780bd3eaa204b1df5d5e6727a876d5967401.zip
a really, really big commit
Diffstat (limited to '')
-rw-r--r--src/main.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main.py b/src/main.py
index 1ef7039..e6b72d2 100644
--- a/src/main.py
+++ b/src/main.py
@@ -2,15 +2,11 @@ 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):