From 56eecebe3fde9092d80464cb327372f8ea59d0b2 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 3 Oct 2007 23:53:38 +0000 Subject: [PATCH] Ported svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=720904 --- part.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) ); }