Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file_win.cpp
Show First 20 Lines • Show All 176 Lines • ▼ Show 20 Line(s) | 165 | #if 0 | |||
---|---|---|---|---|---|
177 | OutputDebugString((WCHAR *)lpMsgBuf); | 177 | OutputDebugString((WCHAR *)lpMsgBuf); | ||
178 | #endif | 178 | #endif | ||
179 | error(KIO::ERR_CANNOT_RENAME, _src.filePath()); | 179 | error(KIO::ERR_CANNOT_RENAME, _src.filePath()); | ||
180 | // qDebug() << "Copying file " << _src.filePath() << " failed (" << dwLastErr << ")"; | 180 | // qDebug() << "Copying file " << _src.filePath() << " failed (" << dwLastErr << ")"; | ||
181 | } | 181 | } | ||
182 | return; | 182 | return; | ||
183 | } | 183 | } | ||
184 | 184 | | |||
185 | if (wasKilled()) { | ||||
186 | qCDebug(KIO_FILE) << "Clean dest file after ioslave was killed:" << dest; | ||||
187 | QFile::remove(_dest); | ||||
188 | } | ||||
189 | | ||||
185 | finished(); | 190 | finished(); | ||
186 | } | 191 | } | ||
187 | 192 | | |||
188 | void FileProtocol::listDir(const QUrl &url) | 193 | void FileProtocol::listDir(const QUrl &url) | ||
189 | { | 194 | { | ||
190 | // qDebug() << "========= LIST " << url << " ========="; | 195 | // qDebug() << "========= LIST " << url << " ========="; | ||
191 | 196 | | |||
192 | if (!url.isLocalFile()) { | 197 | if (!url.isLocalFile()) { | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |