Changeset View
Changeset View
Standalone View
Standalone View
src/core/deletejob.cpp
Show First 20 Lines • Show All 432 Lines • ▼ Show 20 Line(s) | 432 | if (StatJob *statJob = qobject_cast<StatJob *>(job)) { | |||
---|---|---|---|---|---|
433 | // Was there an error while stating ? | 433 | // Was there an error while stating ? | ||
434 | if (job->error()) { | 434 | if (job->error()) { | ||
435 | // Probably : doesn't exist | 435 | // Probably : doesn't exist | ||
436 | Job::slotResult(job); // will set the error and emit result(this) | 436 | Job::slotResult(job); // will set the error and emit result(this) | ||
437 | d->restoreDirWatch(); | 437 | d->restoreDirWatch(); | ||
438 | return; | 438 | return; | ||
439 | } | 439 | } | ||
440 | 440 | | |||
441 | const UDSEntry entry = statJob->statResult(); | 441 | const UDSEntry &entry = statJob->statResult(); | ||
442 | // Is it a file or a dir ? | 442 | // Is it a file or a dir ? | ||
443 | const bool isLink = entry.isLink(); | 443 | const bool isLink = entry.isLink(); | ||
444 | const bool isDir = entry.isDir(); | 444 | const bool isDir = entry.isDir(); | ||
445 | d->currentSourceStated(isDir, isLink); | 445 | d->currentSourceStated(isDir, isLink); | ||
446 | 446 | | |||
447 | ++d->m_currentStat; | 447 | ++d->m_currentStat; | ||
448 | d->statNextSrc(); | 448 | d->statNextSrc(); | ||
449 | } else { | 449 | } else { | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |