Changeset View
Changeset View
Standalone View
Standalone View
src/thread.cpp
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 159 | // qDebug() << "FILE : " << file; | |||
---|---|---|---|---|---|
161 | break; | 161 | break; | ||
162 | } | 162 | } | ||
163 | 163 | | |||
164 | } | 164 | } | ||
165 | 165 | | |||
166 | QUrl tempUrl = QUrl::fromLocalFile(temporal.path()); | 166 | QUrl tempUrl = QUrl::fromLocalFile(temporal.path()); | ||
167 | // qDebug() << "Deleting temps. Successful:" << success; | 167 | // qDebug() << "Deleting temps. Successful:" << success; | ||
168 | if(KIO::del(tempUrl, KIO::HideProgressInfo)->exec()) { | 168 | if(KIO::del(tempUrl, KIO::HideProgressInfo)->exec()) { | ||
169 | qWarning() << "Cleaning was not succesful"; | 169 | qWarning() << "Cleaning was not successful"; | ||
170 | } | 170 | } | ||
171 | // else | 171 | // else | ||
172 | // qDebug() << "Cleanning complete." << temporal.path(); | 172 | // qDebug() << "Cleanning complete." << temporal.path(); | ||
173 | if(!success) | 173 | if(!success) | ||
174 | setError(2); | 174 | setError(2); | ||
175 | emitResult(); | 175 | emitResult(); | ||
176 | } | 176 | } | ||
177 | 177 | | |||
Show All 33 Lines |