Increase polling frequency to 3s
This commit is contained in:
parent
a9daef7d6b
commit
96225c71af
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue