projects
/
ameter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset indicator when the screen is locked
[ameter]
/
mainwindow.cpp
diff --git
a/mainwindow.cpp
b/mainwindow.cpp
index
ab61fb2
..
d754c4c
100644
(file)
--- a/
mainwindow.cpp
+++ b/
mainwindow.cpp
@@
-144,6
+144,7
@@
void MainWindow::screenChange(const QDBusMessage &message)
if (state == MCE_DISPLAY_OFF_STRING)
{
accelerometer->stop();
+ awidget->reset();
} else {
accelerometer->start();
}