diff options
Diffstat (limited to 'utils/themeeditor/main.cpp')
| -rw-r--r-- | utils/themeeditor/main.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/utils/themeeditor/main.cpp b/utils/themeeditor/main.cpp index 45ea662..b43b419 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; } |