projects
/
ameter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove faulty "make clean" step from debian/rules
[ameter]
/
mainwindow.cpp
diff --git
a/mainwindow.cpp
b/mainwindow.cpp
index
e3bac8c
..
ab61fb2
100644
(file)
--- a/
mainwindow.cpp
+++ b/
mainwindow.cpp
@@
-142,9
+142,11
@@
void MainWindow::screenChange(const QDBusMessage &message)
QString state = message.arguments().at(0).toString();
if (!state.isEmpty()) {
if (state == MCE_DISPLAY_OFF_STRING)
+ {
accelerometer->stop();
- if (state == MCE_DISPLAY_ON_STRING)
+ } else {
accelerometer->start();
+ }
}
}
#endif