diff options
author | Luiz Agostini <luiz.agostini@openbossa.org> | 2009-11-03 21:07:54 -0300 |
---|---|---|
committer | Luiz Agostini <luiz.agostini@openbossa.org> | 2009-11-05 00:42:09 -0300 |
commit | c88a51e51bbb5fa318456826aa63a5fba428f6b3 (patch) | |
tree | 530af5e672f8aeda62b05609b778492c74fced3b /weather | |
parent | d972a0c6058340e172f9de2b80efda224ea48bee (diff) |
Weather: changing fake request time.
Signed-off-by: Luiz Agostini <luiz.agostini@openbossa.org>
Diffstat (limited to 'weather')
-rw-r--r-- | weather/forecastprovider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weather/forecastprovider.cpp b/weather/forecastprovider.cpp index c6b0784..94c7341 100644 --- a/weather/forecastprovider.cpp +++ b/weather/forecastprovider.cpp @@ -73,7 +73,7 @@ void ForecastProvider::doSendRequest(const QString &key) { qsrand(QTime(0, 0).secsTo(QTime::currentTime()) * qrand()); m_dumbRequestList.append(key); - QTimer::singleShot((qrand() % 4000) + 1000, this, SLOT(receiveDumbResponse())); + QTimer::singleShot((qrand() % 400) + 100, this, SLOT(receiveDumbResponse())); } void ForecastProvider::receiveDumbResponse() |