Changeset View
Changeset View
Standalone View
Standalone View
src/scanner/AbstractDirectoryWatcher.cpp
Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Line(s) | 132 | { | |||
---|---|---|---|---|---|
133 | ThreadWeaver::Job::defaultEnd(self, thread); | 133 | ThreadWeaver::Job::defaultEnd(self, thread); | ||
134 | if (!self->success()) { | 134 | if (!self->success()) { | ||
135 | Q_EMIT failed(self); | 135 | Q_EMIT failed(self); | ||
136 | } | 136 | } | ||
137 | Q_EMIT done(self); | 137 | Q_EMIT done(self); | ||
138 | } | 138 | } | ||
139 | 139 | | |||
140 | void | 140 | void | ||
141 | AbstractDirectoryWatcher::abort() | 141 | AbstractDirectoryWatcher::requestAbort() | ||
142 | { | 142 | { | ||
143 | DEBUG_BLOCK | 143 | DEBUG_BLOCK | ||
144 | 144 | | |||
145 | m_aborted = true; | 145 | m_aborted = true; | ||
146 | m_waitCondition.wakeAll(); | 146 | m_waitCondition.wakeAll(); | ||
147 | } | 147 | } | ||
148 | 148 | | |||
149 | void | 149 | void | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |