Diffstat (limited to 'core/launcher/suspendmonitor.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/suspendmonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/suspendmonitor.cpp b/core/launcher/suspendmonitor.cpp index f555e84..50bc56f 100644 --- a/core/launcher/suspendmonitor.cpp +++ b/core/launcher/suspendmonitor.cpp | |||
@@ -41,25 +41,25 @@ void TempScreenSaverMonitor::setTempMode(int mode, int pid) | |||
41 | case QPEApplication::Disable: | 41 | case QPEApplication::Disable: |
42 | sStatus[0].append(pid); | 42 | sStatus[0].append(pid); |
43 | break; | 43 | break; |
44 | case QPEApplication::DisableLightOff: | 44 | case QPEApplication::DisableLightOff: |
45 | sStatus[1].append(pid); | 45 | sStatus[1].append(pid); |
46 | break; | 46 | break; |
47 | case QPEApplication::DisableSuspend: | 47 | case QPEApplication::DisableSuspend: |
48 | sStatus[2].append(pid); | 48 | sStatus[2].append(pid); |
49 | break; | 49 | break; |
50 | case QPEApplication::Enable: | 50 | case QPEApplication::Enable: |
51 | break; | 51 | break; |
52 | default: | 52 | default: |
53 | qWarning("Unrecognized temp power setting. Ignored"); | 53 | owarn << "Unrecognized temp power setting. Ignored" << oendl; |
54 | return; | 54 | return; |
55 | } | 55 | } |
56 | updateAll(); | 56 | updateAll(); |
57 | } | 57 | } |
58 | 58 | ||
59 | // Returns true if app had set a temp Mode earlier | 59 | // Returns true if app had set a temp Mode earlier |
60 | bool TempScreenSaverMonitor::removeOld(int pid) | 60 | bool TempScreenSaverMonitor::removeOld(int pid) |
61 | { | 61 | { |
62 | QValueList<int>::Iterator it; | 62 | QValueList<int>::Iterator it; |
63 | for (int i = 0; i < 3; i++) { | 63 | for (int i = 0; i < 3; i++) { |
64 | it = sStatus[i].find(pid); | 64 | it = sStatus[i].find(pid); |
65 | if ( it != sStatus[i].end() ) { | 65 | if ( it != sStatus[i].end() ) { |