Changeset View
Changeset View
Standalone View
Standalone View
lib/thumbnailprovider/thumbnailgenerator.cpp
Show First 20 Lines • Show All 286 Lines • ▼ Show 20 Line(s) | 248 | while (!testCancel()) { | |||
---|---|---|---|---|---|
287 | } | 287 | } | ||
288 | if (testCancel()) { | 288 | if (testCancel()) { | ||
289 | return; | 289 | return; | ||
290 | } | 290 | } | ||
291 | { | 291 | { | ||
292 | QSize size(mOriginalWidth, mOriginalHeight); | 292 | QSize size(mOriginalWidth, mOriginalHeight); | ||
293 | LOG("emitting done signal, size=" << size); | 293 | LOG("emitting done signal, size=" << size); | ||
294 | QMutexLocker lock(&mMutex); | 294 | QMutexLocker lock(&mMutex); | ||
295 | done(mImage, size); | 295 | emit done(mImage, size); | ||
296 | LOG("Done"); | 296 | LOG("Done"); | ||
297 | } | 297 | } | ||
298 | } | 298 | } | ||
299 | LOG("Ending thread"); | 299 | LOG("Ending thread"); | ||
300 | } | 300 | } | ||
301 | 301 | | |||
302 | void ThumbnailGenerator::cacheThumbnail() | 302 | void ThumbnailGenerator::cacheThumbnail() | ||
303 | { | 303 | { | ||
Show All 12 Lines |