Fix compile error introduced in the previous commits
Andrea Scarpino
11 years ago
225 | 225 | url = renameDialog.data()->newDestUrl(); |
226 | 226 | break; |
227 | 227 | case KIO::R_OVERWRITE: |
228 | { | |
228 | 229 | // Delete the old file if exists |
229 | 230 | QFile oldFile(url.toLocalFile(), 0); |
230 | 231 | if (oldFile.exists()) { |
231 | 232 | oldFile.remove(); |
232 | 233 | } |
234 | } | |
233 | 235 | break; |
234 | 236 | default: |
235 | 237 | kWarning() << "Unknown Error"; |