diff options
| author | 2018-04-02 12:13:56 +0200 | |
|---|---|---|
| committer | 2018-04-02 12:14:12 +0200 | |
| commit | 5037bbc102fec39fbdef810427c31cb0a1722709 (patch) | |
| tree | 24f888f5e094dab274d0d7ecdaf0844da4c30d33 /qmltypesregister.cpp | |
| parent | e31c29a1696a476774b63d17841daa8016d6e8c7 (diff) | |
| download | OneRoll-5037bbc102fec39fbdef810427c31cb0a1722709.tar.gz OneRoll-5037bbc102fec39fbdef810427c31cb0a1722709.zip | |
add Rolisteam qml module
Diffstat (limited to 'qmltypesregister.cpp')
| -rw-r--r-- | qmltypesregister.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmltypesregister.cpp b/qmltypesregister.cpp index 562926b..f256eb2 100644 --- a/qmltypesregister.cpp +++ b/qmltypesregister.cpp @@ -22,9 +22,11 @@ #include <QQmlEngine> #include "diceroller.h" +#include "field.h" void registerQmlTypes() { - qmlRegisterType<DiceRoller>("Dice", 1, 0, "DiceRoller"); + qmlRegisterType<DiceRoller>("Rolisteam", 1, 0, "DiceRoller"); + qmlRegisterType<Field>("Rolisteam", 1, 0, "Field"); } |