aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordodoradio <dodoradio@outlook.com>2023-08-07 21:25:44 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-11-24 17:20:54 +0000
commit8825bca5587ba07e7462622ba37d125ba17e4969 (patch)
treed70927c4fbd096cc510d05ed76830ff28efd6add /src/main.cpp
parent298ed17d1450b3590d3702e446c5f61aca9fa6b0 (diff)
Add barometer graphgraph
This is based mostly on my work from asteroid-health (https://git.dodorad.io/dodoradio/asteroid-health). Some tweaks have been applied on top of this code, which might prove useful in asteroid-health as well.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a44544c..891274f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -16,8 +16,10 @@
*/
#include <asteroidapp.h>
+#include "graphs/lineGraph.h"
int main(int argc, char *argv[])
{
+ qmlRegisterType<LineGraph>("org.asteroid.health", 1, 0, "LineGraph");
return AsteroidApp::main(argc, argv);
}