[SCM] ktp-filetransfer-handler packaging branch, master, updated. debian/15.12.1-2-226-g825cd93
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:12:32 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-filetransfer-handler.git;a=commitdiff;h=def931e
The following commit has been merged in the master branch:
commit def931e2bcf7db0bae922a573b0b2527d4074d46
Author: Andrea Scarpino <andrea at archlinux.org>
Date: Thu Feb 14 12:37:16 2013 +0059
Fix compile error introduced in the previous commits
---
src/handle-incoming-file-transfer-channel-job.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/handle-incoming-file-transfer-channel-job.cpp b/src/handle-incoming-file-transfer-channel-job.cpp
index 4ae29be..7a15237 100644
--- a/src/handle-incoming-file-transfer-channel-job.cpp
+++ b/src/handle-incoming-file-transfer-channel-job.cpp
@@ -226,11 +226,13 @@ void HandleIncomingFileTransferChannelJobPrivate::__k__onRenameDialogFinished(in
url = renameDialog.data()->newDestUrl();
break;
case KIO::R_OVERWRITE:
+ {
// Delete the old file if exists
QFile oldFile(url.toLocalFile(), 0);
if (oldFile.exists()) {
oldFile.remove();
}
+ }
break;
default:
kWarning() << "Unknown Error";
--
ktp-filetransfer-handler packaging
More information about the pkg-kde-commits
mailing list