fix bttransfer patch

This commit is contained in:
philm 2010-12-24 22:41:44 +00:00
parent b722f8e7ba
commit ebbeeecd0b
2 changed files with 10 additions and 10 deletions

View File

@ -48,7 +48,7 @@ source=($_mirror/${_origname}-$_kdever.tar.bz2 \
md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
'66069c83fd5fa0df5d743d4486799033' # lisa.daemon
'cb18a7286a6a1900062408ce90d89125')
'396537b1a8805672b3a7968378136105')

View File

@ -1,14 +1,14 @@
diff -ur kdenetwork-4.5.80/kget/transfer-plugins/bittorrent/bttransferfactory.cpp kdenetwork-4.5.80-libktorrent-stable/kget/transfer-plugins/bittorrent/bttransferfactory.cpp
--- kdenetwork-4.5.80/kget/transfer-plugins/bittorrent/bttransferfactory.cpp 2010-09-20 10:50:33.000000000 +0200
+++ kdenetwork-4.5.80-libktorrent-stable/kget/transfer-plugins/bittorrent/bttransferfactory.cpp 2010-11-22 21:46:11.000000000 +0100
@@ -18,18 +18,12 @@
--- kdenetwork-4.5.90-libktorrent-stable/kget/transfer-plugins/bittorrent/bttransferfactory.cpp.orig 2010-12-10 16:18:46.000000000 +0100
+++ kdenetwork-4.5.90-libktorrent-stable/kget/transfer-plugins/bittorrent/bttransferfactory.cpp 2010-12-24 23:38:25.853333340 +0100
@@ -19,7 +19,6 @@
#include "advanceddetails/btadvanceddetailswidget.h"
#include <kdebug.h>
-#include <util/functions.h>
#include <version.h>
#include <torrent/job.h>
KGET_EXPORT_PLUGIN(BTTransferFactory)
@@ -28,11 +27,6 @@ KGET_EXPORT_PLUGIN(BTTransferFactory)
BTTransferFactory::BTTransferFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
{
@ -17,6 +17,6 @@ diff -ur kdenetwork-4.5.80/kget/transfer-plugins/bittorrent/bttransferfactory.cp
- kError(5001) << "Failed to initialize libktorrent";
- KGet::showNotification(0, "error", i18n("Cannot initialize libktorrent. Torrent support might not work."));
- }
}
BTTransferFactory::~BTTransferFactory()
#if LIBKTORRENT_VERSION >= 0x010100
bt::Job::setJobTracker(new BTJobTracker(this));
#endif