Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

ponce

By: a guest on Dec 14th, 2010  |  syntax: None  |  size: 1.07 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur kdenetwork-4.5.86svn1205247.orig/kget/transfer-plugins/bittorrent/bttransferfactory.cpp kdenetwork-4.5.86svn1205247/kget/transfer-plugins/bittorrent/bttransferfactory.cpp
  2. --- kdenetwork-4.5.86svn1205247.orig/kget/transfer-plugins/bittorrent/bttransferfactory.cpp     2010-12-10 16:18:46.000000000 +0100
  3. +++ kdenetwork-4.5.86svn1205247/kget/transfer-plugins/bittorrent/bttransferfactory.cpp  2010-12-14 11:08:45.859853871 +0100
  4. @@ -19,7 +19,6 @@
  5.  #include "advanceddetails/btadvanceddetailswidget.h"
  6.  
  7.  #include <kdebug.h>
  8. -#include <util/functions.h>
  9.  #include <version.h>
  10.  #include <torrent/job.h>
  11.  
  12. @@ -28,11 +27,6 @@
  13.  BTTransferFactory::BTTransferFactory(QObject *parent, const QVariantList &args)
  14.    : TransferFactory(parent, args)
  15.  {
  16. -    if (!bt::InitLibKTorrent())
  17. -    {
  18. -        kError(5001) << "Failed to initialize libktorrent";
  19. -        KGet::showNotification(0, "error", i18n("Cannot initialize libktorrent. Torrent support might not work."));
  20. -    }
  21.  #if LIBKTORRENT_VERSION >= 0x010100
  22.      bt::Job::setJobTracker(new BTJobTracker(this));
  23.  #endif