summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/main.cpp')
-rw-r--r--utils/themeeditor/main.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/utils/themeeditor/main.cpp b/utils/themeeditor/main.cpp
index 45ea662944..b43b419143 100644
--- a/utils/themeeditor/main.cpp
+++ b/utils/themeeditor/main.cpp
@@ -32,9 +32,10 @@ namespace wps
#include <cstdio>
#include <QtGui/QApplication>
-#include <QFileSystemModel>
#include <QTreeView>
+#include "parsetreemodel.h"
+
int main(int argc, char* argv[])
{
@@ -46,6 +47,14 @@ int main(int argc, char* argv[])
wps::skin_free_tree(test);
+ QApplication app(argc, argv);
+
+ QTreeView tree;
+ ParseTreeModel model(doc);
+ tree.setModel(&model);
+ tree.show();
+
+ return app.exec();
return 0;
}