mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Ported
svn path=/branches/work/kde4_jobflags/KDE/kdegraphics/okular/; revision=720904
This commit is contained in:
parent
5df1895ec0
commit
56eecebe3f
2
part.cpp
2
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() ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue