~michihenning/thumbnailer/no-tmp-file

« back to all changes in this revision

Viewing changes to src/ubuntuserverdownloader.cpp

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2015-10-14 05:11:41 UTC
  • mfrom: (278.4.20 qt-rate-limiter)
  • Revision ID: tarmac-20151014051141-kyem0nctbyjgrczs
Moved rate limiter from QML to Qt side.
Fixed bug in libthumbnailer-qt that caused the state of completed request to not be released.
Changed stress test to test the rate limiting via Qt.

Approved by PS Jenkins bot, James Henstridge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
        //       reply_ is nullptr only if the network is down.
193
193
        if (!reply_)
194
194
        {
195
 
            Q_EMIT finished();  // LCOV_EXCL_LINE
 
195
            // LCOV_EXCL_START
 
196
            Q_EMIT finished();
196
197
            return;
 
198
            // LCOV_EXCL_STOP
197
199
        }
198
200
 
199
201
        timer_.stop();