svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=720904
This commit is contained in:
David Faure 2007-10-03 23:53:38 +00:00
parent 5df1895ec0
commit 56eecebe3f

View file

@ -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() ) );
}