diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-02-24 03:11:57 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-02-24 03:11:57 +0000 |
commit | fa4a943c17e47bf910596a414fd7287983350b9b (patch) | |
tree | dc76cec18a505befc330e612e0a56bf1caa5ca49 /net-p2p/ktorrent2/files | |
parent | - Fix manpage pointing to correct PREFIX for binary and conf (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_0_0'.release/7.0.0
Notes
Notes:
svn path=/head/; revision=207820
svn path=/tags/RELEASE_7_0_0/; revision=207821; tag=release/7.0.0
Diffstat (limited to 'net-p2p/ktorrent2/files')
-rw-r--r-- | net-p2p/ktorrent2/files/patch-apps-ktorrent-fileselectdlg.cpp | 34 | ||||
-rw-r--r-- | net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp | 11 |
2 files changed, 0 insertions, 45 deletions
diff --git a/net-p2p/ktorrent2/files/patch-apps-ktorrent-fileselectdlg.cpp b/net-p2p/ktorrent2/files/patch-apps-ktorrent-fileselectdlg.cpp deleted file mode 100644 index f57f053e75c9..000000000000 --- a/net-p2p/ktorrent2/files/patch-apps-ktorrent-fileselectdlg.cpp +++ /dev/null @@ -1,34 +0,0 @@ ---- apps/ktorrent/fileselectdlg.cpp 2007/10/07 11:30:13 722461 -+++ apps/ktorrent/fileselectdlg.cpp 2007/10/07 11:32:52 722462 -@@ -94,11 +94,20 @@ - void FileSelectDlg::accept() - { - QStringList pe_ex; -+ -+ QString dn = m_downloadLocation->url(); -+ if (!dn.endsWith(bt::DirSeparator())) -+ dn += bt::DirSeparator(); - - for (Uint32 i = 0;i < tc->getNumFiles();i++) - { - kt::TorrentFileInterface & file = tc->getTorrentFile(i); - -+ // check for preexsting files -+ QString path = dn + tc->getStats().torrent_name + bt::DirSeparator() + file.getPath(); -+ if (bt::Exists(path)) -+ file.setPreExisting(true); -+ - if (file.doNotDownload() && file.isPreExistingFile()) - { - // we have excluded a preexsting file -@@ -136,10 +145,7 @@ - } - - //Setup custom download location -- QString dn = m_downloadLocation->url(); - QString ddir = tc->getDataDir(); -- if (!dn.endsWith(bt::DirSeparator())) -- dn += bt::DirSeparator(); - if (!ddir.endsWith(bt::DirSeparator())) - ddir += bt::DirSeparator(); - diff --git a/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp b/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp deleted file mode 100644 index bb0df257e008..000000000000 --- a/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- libktorrent/util/fileops.cpp.orig 2007-10-22 18:18:51.000000000 +0200 -+++ libktorrent/util/fileops.cpp 2007-10-22 18:35:28.000000000 +0200 -@@ -425,7 +425,7 @@ - if (statvfs(path.local8Bit(), &stfs) == 0) - #endif - { -- bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_bsize); -+ bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_frsize); - return true; - } - else |