diff --git a/part.cpp b/part.cpp index 4f6af85e6..a105600b1 100644 --- a/part.cpp +++ b/part.cpp @@ -1194,7 +1194,7 @@ void Part::slotSaveFileAs() return; } - KIO::Job *copyJob = KIO::file_copy( url(), saveUrl, -1, true); + KIO::Job *copyJob = KIO::file_copy( url(), saveUrl, -1, KIO::Overwrite ); if ( !KIO::NetAccess::synchronousRun( copyJob, widget() ) ) KMessageBox::information( widget(), i18n("File could not be saved in '%1'. Try to save it to another location.", saveUrl.prettyUrl() ) ); }