Commit graph

6 commits

Author SHA1 Message Date
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
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
284d37755a Refresh battery data automatically 2019-01-05 21:57:35 +02:00
Matti Viljanen
5b99d11f3f Battery class added 2019-01-05 17:14:00 +02:00