summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
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):