aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-06-10 21:35:13 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-06-29 00:59:44 +0100
commitcfffcd7d13fed20b666cad020d5501d80fa8d8b1 (patch)
tree7ccf1c8547508d80d532ddbcbcbb15dbe07de2e7 /src/main.cpp
parentd5f695da5c7fd112d72e0df3f2ec72371c3d3adc (diff)
Add graph here
Diffstat (limited to 'src/main.cpp')
-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);
}