summaryrefslogtreecommitdiff
path: root/utils/themeeditor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/main.cpp')
-rw-r--r--utils/themeeditor/main.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/utils/themeeditor/main.cpp b/utils/themeeditor/main.cpp
index 87d38b861d..3f7379e0dd 100644
--- a/utils/themeeditor/main.cpp
+++ b/utils/themeeditor/main.cpp
@@ -21,6 +21,7 @@
21 21
22#include "skin_parser.h" 22#include "skin_parser.h"
23#include "skin_debug.h" 23#include "skin_debug.h"
24#include "editorwindow.h"
24 25
25#include <cstdlib> 26#include <cstdlib>
26#include <cstdio> 27#include <cstdio>
@@ -35,17 +36,8 @@ int main(int argc, char* argv[])
35{ 36{
36 QApplication app(argc, argv); 37 QApplication app(argc, argv);
37 38
38 char doc[] = "#Comment\n" 39 EditorWindow mainWindow;
39 "%Vd(U);Hey\n" 40 mainWindow.show();
40 "%?bl(test,3,5,2,1)<param2|param3>\n"
41 "%V(1,2,3,4,5)%pS(5)\n"
42 "Some more stuff here";
43
44 ParseTreeModel tree(doc);
45
46 QTreeView view;
47 view.setModel(&tree);
48 view.show();
49 41
50 return app.exec(); 42 return app.exec();
51 43