Commit graph

9 commits

Author SHA1 Message Date
Matti Viljanen
e1b59a98a5
Code cleanup; rename variables. Separate alert and charger limits. 2020-03-20 20:57:06 +02:00
Matti Viljanen
c67a33a4b7
Implement charger control and charger plugged in boolean 2020-03-20 17:26:29 +02:00
Matti Viljanen
c7ba509bc7
Move sliders to Settings page, add alert interval setting 2019-01-29 01:11:32 +02:00
Matti Viljanen
8eafae5808
Version bump to 1.1, update translations, minor cleanup, remove QDebug 2019-01-08 21:15:36 +02:00
Matti Viljanen
960750f2a7
Fix QSettings not getting saved, get rid of load() and save() 2019-01-08 20:19:54 +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
6fce9e5dcc Remove qDebug 2019-01-06 11:34:54 +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