aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4/files/patch-kpdf-part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics4/files/patch-kpdf-part.cpp')
-rw-r--r--graphics/kdegraphics4/files/patch-kpdf-part.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/graphics/kdegraphics4/files/patch-kpdf-part.cpp b/graphics/kdegraphics4/files/patch-kpdf-part.cpp
deleted file mode 100644
index bf1e59e4f47b..000000000000
--- a/graphics/kdegraphics4/files/patch-kpdf-part.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- kpdf/part.cpp 2006/01/18 21:57:05 499855
-+++ kpdf/part.cpp 2006/01/23 23:11:54 501814
-@@ -697,6 +697,11 @@
- KURL saveURL = KFileDialog::getSaveURL( url().isLocalFile() ? url().url() : url().fileName(), QString::null, widget() );
- if ( saveURL.isValid() && !saveURL.isEmpty() )
- {
-+ if (saveURL == url())
-+ {
-+ KMessageBox::information( widget(), i18n("You are trying to overwrite \"%1\" with itself. This is not allowed. Please save it in another location.").arg(saveURL.filename()) );
-+ return;
-+ }
- if ( KIO::NetAccess::exists( saveURL, false, widget() ) )
- {
- if (KMessageBox::warningContinueCancel( widget(), i18n("A file named \"%1\" already exists. Are you sure you want to overwrite it?").arg(saveURL.filename()), QString::null, i18n("Overwrite")) != KMessageBox::Continue)