Increase polling frequency to 3s

This commit is contained in:
Matti Viljanen 2019-02-10 20:30:45 +02:00
parent a9daef7d6b
commit 96225c71af
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -50,7 +50,7 @@ int main(int argc, char *argv[])
QTimer updater;
QObject::connect(&updater, SIGNAL(timeout()), &battery, SLOT(updateData()));
updater.start(15000);
updater.start(3000);
view->rootContext()->setContextProperty("battery", &battery);
view->rootContext()->setContextProperty("settings", &settings);