-rw-r--r-- | noncore/apps/opie-console/dialer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/dialer.cpp b/noncore/apps/opie-console/dialer.cpp index 7bf9352..51d4093 100644 --- a/noncore/apps/opie-console/dialer.cpp +++ b/noncore/apps/opie-console/dialer.cpp | |||
@@ -225,6 +225,5 @@ QString Dialer::receive() | |||
225 | char buffer[1024]; | 225 | char buffer[1024]; |
226 | int ret; | 226 | int ret; |
227 | 227 | int counter; | |
228 | qApp->processEvents(); | ||
229 | 228 | ||
230 | while(1) | 229 | while(1) |
@@ -248,5 +247,7 @@ qWarning("Receiving: '%s'", buf.latin1()); | |||
248 | { | 247 | { |
249 | if(errno != EAGAIN) reset(); | 248 | if(errno != EAGAIN) reset(); |
249 | else if(!(counter++ % 100)) qApp->processEvents(); | ||
250 | } | 250 | } |
251 | else if(!(counter++ % 100)) qApp->processEvents(); | ||
251 | } | 252 | } |
252 | 253 | ||