summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index f15094d..5fd69ee 100644
--- a/main.cpp
+++ b/main.cpp
@@ -6,6 +6,7 @@
#include "board.h"
#include "boardmodel.h"
#include "forummodel.h"
+#include "topicmodel.h"
#include "xmlrpcinterface.h"
#include "xmlrpcreply.h"
@@ -28,6 +29,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
qmlRegisterType<BoardModel>("com.javispedro.tapasboard", 1, 0, "BoardModel");
qmlRegisterType<ForumModel>("com.javispedro.tapasboard", 1, 0, "ForumModel");
+ qmlRegisterType<TopicModel>("com.javispedro.tapasboard", 1, 0, "TopicModel");
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setMainQmlFile(QLatin1String("qml/tapasboard/main.qml"));