Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:12.2:ARM
ktorrent
suse-dht-warning.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-dht-warning.diff of Package ktorrent
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();
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