Codebase list ktp-filetransfer-handler / def931e
Fix compile error introduced in the previous commits Andrea Scarpino 11 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
225225 url = renameDialog.data()->newDestUrl();
226226 break;
227227 case KIO::R_OVERWRITE:
228 {
228229 // Delete the old file if exists
229230 QFile oldFile(url.toLocalFile(), 0);
230231 if (oldFile.exists()) {
231232 oldFile.remove();
232233 }
234 }
233235 break;
234236 default:
235237 kWarning() << "Unknown Error";