summaryrefslogtreecommitdiffstats
path: root/hyperui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyperui/main.cpp')
-rw-r--r--hyperui/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/hyperui/main.cpp b/hyperui/main.cpp
index 0cf9ea4..afeb479 100644
--- a/hyperui/main.cpp
+++ b/hyperui/main.cpp
@@ -33,7 +33,7 @@
#include <QGraphicsScene>
#include <QGraphicsView>
-#include "global.h"
+#include "resource.h"
#include "mainwindow.h"
@@ -43,6 +43,9 @@ int main(int argc, char **argv)
QApplication::setGraphicsSystem("raster");
#endif
+ Resource::setIniFile(":/hyperui.ini");
+ Resource::setPixmapPrefix(":/images/");
+
QApplication app(argc, argv);
const int width = Resource::intValue("window/width");