author | harlekin <harlekin> | 2002-09-29 23:08:59 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-29 23:08:59 (UTC) |
commit | b53db7a5a334fdd53bd86e8b50587f1dae41cfba (patch) (unidiff) | |
tree | a2a24eea2bebefdbb02302ad57c0c0cbf425683e | |
parent | a54430dbebd980109afdf604c7bfc9b0e15c4fdb (diff) | |
download | opie-b53db7a5a334fdd53bd86e8b50587f1dae41cfba.zip opie-b53db7a5a334fdd53bd86e8b50587f1dae41cfba.tar.gz opie-b53db7a5a334fdd53bd86e8b50587f1dae41cfba.tar.bz2 |
temporary workarround to prevent high cpuloads after first app is launched
-rw-r--r-- | core/launcher/launcherview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index 9f86136..dbcb0d7 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -102,13 +102,15 @@ public: | |||
102 | bsy-> repaint ( ); | 102 | bsy-> repaint ( ); |
103 | bsy = c; | 103 | bsy = c; |
104 | 104 | ||
105 | if ( bsy ) { | 105 | if ( bsy ) { |
106 | busytimer = startTimer ( 150 ); | 106 | busytimer = startTimer ( 150 ); |
107 | busystate = 50; | 107 | busystate = 50; |
108 | startTimer ( 0 ); | 108 | // not sure what this startTimer is for, maybe i am just to tired. But |
109 | // currently that causes 100% cpuload on app launch | ||
110 | //startTimer ( 0 ); | ||
109 | } | 111 | } |
110 | else | 112 | else |
111 | killTimer ( busytimer ); | 113 | killTimer ( busytimer ); |
112 | } | 114 | } |
113 | } | 115 | } |
114 | 116 | ||