aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6683ae7..48fa468 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -15,9 +15,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <QtQml>
#include <asteroidapp.h>
+#include "cpp/hrGraph.h"
+
int main(int argc, char *argv[])
{
+ qmlRegisterType<HrGraph>("org.asteroid.health", 1, 0, "HeartrateGraph");
return AsteroidApp::main(argc, argv);
}