Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
ktorrent
suse-dht-warning.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-dht-warning.diff of Package ktorrent
diff -urNB ktorrent-5.0/CMakeLists.txt new/CMakeLists.txt --- CMakeLists.txt 2016-04-15 00:30:28.000000000 +0200 +++ CMakeLists.txt 2016-04-16 13:52:36.168059210 +0200 @@ -16,7 +16,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Script) -find_package(KF5 5.15 REQUIRED I18n KIO XmlGui Notifications NotifyConfig Solid Config CoreAddons DocTools Kross KCMUtils Sonnet DBusAddons Crash Archive KDELibs4Support) +find_package(KF5 5.15 REQUIRED I18n KIO XmlGui Notifications NotifyConfig Solid Config ConfigWidgets CoreAddons DocTools Kross KCMUtils Sonnet DBusAddons Crash Archive KDELibs4Support) find_package(LibKTorrent 1.9.50 CONFIG REQUIRED) find_package(Boost REQUIRED) diff -urNB ktorrent-5.0/ktorrent/CMakeLists.txt new/ktorrent/CMakeLists.txt --- ktorrent/CMakeLists.txt 2016-03-30 11:25:13.000000000 +0200 +++ ktorrent/CMakeLists.txt 2016-04-16 13:53:51.520453793 +0200 @@ -88,6 +88,7 @@ KF5::Parts KF5::DBusAddons KF5::KDELibs4Support + KF5::ConfigWidgets ) install(TARGETS ktorrent_app ${INSTALL_TARGETS_DEFAULT_ARGS}) @@ -95,6 +96,7 @@ install(FILES ktorrentui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ktorrent ) install(FILES kttorrentactivityui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ktorrent ) install(FILES ktorrent.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} ) +install(FILES dhttip DESTINATION ${KXMLGUI_INSTALL_DIR}/ktorrent ) add_subdirectory(icons) diff -urNB ktorrent-5.0/ktorrent/dhttip new/ktorrent/dhttip --- ktorrent/dhttip 1970-01-01 01:00:00.000000000 +0100 +++ ktorrent/dhttip 2016-04-16 13:54:19.072598069 +0200 @@ -0,0 +1,10 @@ +<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> diff -urNB ktorrent-5.0/ktorrent/gui.cpp new/ktorrent/gui.cpp --- ktorrent/gui.cpp 2016-03-30 11:25:13.000000000 +0200 +++ ktorrent/gui.cpp 2016-04-16 18:15:12.284449587 +0200 @@ -37,6 +37,7 @@ #include <krecentdirs.h> #include <kxmlguifactory.h> #include <KNotifyConfigWidget> +#include <KTipDialog> #include <kio/jobclasses.h> #include <kio/jobuidelegate.h> #include <kparts/partmanager.h> @@ -122,6 +123,8 @@ //markk.update(); updateActions(); core->startUpdateTimer(); + + QTimer::singleShot(0, this, SLOT(showDhtTip())); } GUI::~GUI() @@ -571,4 +574,9 @@ return torrent_activity; } + void GUI::showDhtTip() + { + KTipDialog::showTip(this, "ktorrent/dhttip"); + } + } diff -urNB ktorrent-5.0/ktorrent/gui.h new/ktorrent/gui.h --- ktorrent/gui.h 2016-03-30 11:25:13.000000000 +0200 +++ ktorrent/gui.h 2016-04-16 18:16:22.112815265 +0200 @@ -112,6 +112,7 @@ void configureNotifications(); void activePartChanged(KParts::Part* p); void quit(); + void showDhtTip(); private: void setupActions();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor