Diffstat (limited to 'noncore/apps/opie-reader/CExpander.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CExpander.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/CExpander.cpp b/noncore/apps/opie-reader/CExpander.cpp index e398d86..1158a7a 100644 --- a/noncore/apps/opie-reader/CExpander.cpp +++ b/noncore/apps/opie-reader/CExpander.cpp @@ -1,2 +1,5 @@ #include "CExpander.h" +#ifdef USEQPE +#include <qpe/global.h> +#endif @@ -72,3 +75,7 @@ void CExpander::unsuspend(FILE*& fin) int delay = time(NULL) - sustime; - if (delay < 10) sleep(10-delay); + if (delay < 10) + { + Global::statusMessage("Stalling"); + sleep(10-delay); + } fin = fopen(fname, "rb"); @@ -76,2 +83,3 @@ void CExpander::unsuspend(FILE*& fin) { + Global::statusMessage("Stalling"); sleep(5); |