SHA256
1
0
forked from pool/ktorrent
ktorrent/suse-dht-warning.diff
Stephan Kulow b2720c6e05 Accepting request 108782 from KDE:Distro:Factory
- Update to version 4.2.0, also lists changes what changed in rc1
  * Add new group switcher combobox in toolbar
  * Make kio-magnet optional
  * Improve handing magnet uris in search plugin
  * Fix bug causing kio-magnet to deselect all files
  * Close current scan widget when a new one is started for a torrent
  * Fix syndication plugin not handling relative urls properly
  * Fix magnet uri's not being handled properly in load torrent feature of webinterface
  * Make it possible to check individual files of a torrent
  * Data checks for multiple torrents can now get started at the same time
  * Make links clickable in the status tab comments field
  * Revamp UPnP plugin
  * Fix bug making it possible to add conflicting items to the schedule
  * Make it possible for schedule items to span multiple days
  * Include disk usage of existing files when calculating bytes left after download in FileSelectDlg
  * Disable scripts in GUI, if no interpreter could be found for the script
  * Show shutdown plugin's config dialog when no rules are present and the enable button is pressed
  * Make it possible to wait for several events before activating the shutdown action
  * Fix wrong required diskspace calculation in some rare circumstances
  * Revamp scanfolder plugin
  * Revamp GUI of mediaplayer plugin
  * Make properties extender a dialog
  * Fix bug causing scripts not to be selectable in scripting plugin
  * Show info hash in status tab
  * Improve video streaming support
  * Add Open With option to FileView context menu
  * Fix bug causing views to not get properly restored when the application language changes
  * Check if new trackers have a supported protocol
  * Remove usage of several deprecated KDE3 networking classes
  * Remove obsolete config options of datacheck during upload feature

OBS-URL: https://build.opensuse.org/request/show/108782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ktorrent?expand=0&rev=86
2012-03-12 19:15:13 +00:00

74 lines
2.0 KiB
Diff

Index: ktorrent/CMakeLists.txt
===================================================================
--- ktorrent/CMakeLists.txt.orig
+++ ktorrent/CMakeLists.txt
@@ -91,6 +91,7 @@ install(FILES ktorrentplugin.desktop DE
install(FILES ktorrentui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent )
install(FILES kttorrentactivityui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent )
install(FILES ktorrent.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ktorrent )
+install(FILES dhttip DESTINATION ${DATA_INSTALL_DIR}/ktorrent)
if (NOT ${ENABLE_KIO_MAGNET})
install(FILES magnet.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
Index: ktorrent/dhttip
===================================================================
--- /dev/null
+++ ktorrent/dhttip
@@ -0,0 +1,11 @@
+<tip category="Ktorrent">
+<html>
+<p>
+Please respect the rights of copyright holders.
+</p>
+<p>
+Free Software also depends upon the principle of copyright.
+</p>
+</html>
+</tip>
+
Index: ktorrent/gui.cpp
===================================================================
--- ktorrent/gui.cpp.orig
+++ ktorrent/gui.cpp
@@ -38,6 +38,7 @@
#include <kpushbutton.h>
#include <kxmlguifactory.h>
#include <KNotifyConfigWidget>
+#include <KTipDialog>
#include <kio/jobclasses.h>
#include <kio/jobuidelegate.h>
#include <kparts/partmanager.h>
@@ -122,6 +123,8 @@ namespace kt
//markk.update();
updateActions();
core->startUpdateTimer();
+
+ QTimer::singleShot(0, this, SLOT(showDhtTip()));
}
GUI:: ~GUI()
@@ -597,6 +600,11 @@ namespace kt
return torrent_activity;
}
+ void GUI::showDhtTip()
+ {
+ KTipDialog::showTip(this, "ktorrent/dhttip");
+ }
+
}
#include "gui.moc"
Index: ktorrent/gui.h
===================================================================
--- ktorrent/gui.h.orig
+++ ktorrent/gui.h
@@ -113,6 +113,7 @@ namespace kt
void showOrHide();
void configureNotifications();
void activePartChanged(KParts::Part* p);
+ void showDhtTip();
private:
void setupActions();