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 45ea662944..b43b419143 100644 --- a/utils/themeeditor/main.cpp +++ b/utils/themeeditor/main.cpp | |||
@@ -32,9 +32,10 @@ namespace wps | |||
32 | #include <cstdio> | 32 | #include <cstdio> |
33 | 33 | ||
34 | #include <QtGui/QApplication> | 34 | #include <QtGui/QApplication> |
35 | #include <QFileSystemModel> | ||
36 | #include <QTreeView> | 35 | #include <QTreeView> |
37 | 36 | ||
37 | #include "parsetreemodel.h" | ||
38 | |||
38 | int main(int argc, char* argv[]) | 39 | int main(int argc, char* argv[]) |
39 | { | 40 | { |
40 | 41 | ||
@@ -46,6 +47,14 @@ int main(int argc, char* argv[]) | |||
46 | 47 | ||
47 | wps::skin_free_tree(test); | 48 | wps::skin_free_tree(test); |
48 | 49 | ||
50 | QApplication app(argc, argv); | ||
51 | |||
52 | QTreeView tree; | ||
53 | ParseTreeModel model(doc); | ||
54 | tree.setModel(&model); | ||
55 | tree.show(); | ||
56 | |||
57 | return app.exec(); | ||
49 | 58 | ||
50 | return 0; | 59 | return 0; |
51 | } | 60 | } |