Advertisement
Guest User

ponce

a guest
Dec 14th, 2010
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement