Matti Viljanen
960750f2a7
Fix QSettings not getting saved, get rid of load() and save()
2019-01-08 20:19:54 +02:00
Matti Viljanen
7ef7775c89
Add state to battery data, return translated state
2019-01-08 20:16:10 +02:00
Matti Viljanen
5eea9e9732
Use QSettings instead of QSqlDatabase, move defaults to headers.
...
This is what over thinking looks like. QSettings need *absolutely no configuration*, whereas QSqlDatabase couldn't even get the directory created, and for some reason (simple write permissions, I think) QDir couldn't even create the data folder. Gah!
2019-01-06 16:39:33 +02:00
Matti Viljanen
2a9db678b0
Make empty and one-line functions really one-liners
2019-01-06 16:37:02 +02:00
Matti Viljanen
6fce9e5dcc
Remove qDebug
2019-01-06 11:34:54 +02:00
Matti Viljanen
7d3ea81ca4
Fix audio file paths
2019-01-06 11:31:03 +02:00
Matti Viljanen
57f153055e
Remove unused addImportPath
2019-01-05 23:41:33 +02:00
Matti Viljanen
8467c6e7c6
Add GPLv3 license comments in source files
2019-01-05 23:40:22 +02:00
Matti Viljanen
629bdbd1f7
Actually include settings.h and settings.cpp
2019-01-05 23:38:41 +02:00
Matti Viljanen
ac9e3a088b
Add Settings object, alert level sliders
2019-01-05 21:58:52 +02:00
Matti Viljanen
284d37755a
Refresh battery data automatically
2019-01-05 21:57:35 +02:00
Matti Viljanen
18bf91fdce
Display current battery level and charging status - milestone achieved!
2019-01-05 17:15:32 +02:00
Matti Viljanen
5b99d11f3f
Battery class added
2019-01-05 17:14:00 +02:00
Matti Viljanen
46e27d18b7
Created project, added .gitignore
2019-01-05 15:49:35 +02:00