aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/qmltypesregister.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-12-22 01:17:04 +0100
committerRenaud G <renaud@rolisteam.org>2017-12-22 01:17:04 +0100
commita9c56795316ad6f9455df446546ac85264a5ac3c (patch)
tree4cf99ea5ab70c1c8a79e77f3384f05a5985d40f8 /qmltypesregister.cpp
parentb2e4afb2cb2a94affd4865645dce745533b84d28 (diff)
downloadOneRoll-a9c56795316ad6f9455df446546ac85264a5ac3c.tar.gz
OneRoll-a9c56795316ad6f9455df446546ac85264a5ac3c.zip
-Add item to roll dice inside charactersheet and test it.
Diffstat (limited to 'qmltypesregister.cpp')
-rw-r--r--qmltypesregister.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/qmltypesregister.cpp b/qmltypesregister.cpp
index adc13de..85643f9 100644
--- a/qmltypesregister.cpp
+++ b/qmltypesregister.cpp
@@ -1,14 +1,11 @@
#include "qmltypesregister.h"
+#include <QQmlEngine>
#include "diceroller.h"
void registerQmlTypes()
{
-
qmlRegisterType<DiceRoller>("Dice", 1, 0, "DiceRoller");
-
-
-
}