diff -up ktorrent-4.2.0/ktorrent/CMakeLists.txt.mimetype_magnet ktorrent-4.2.0/ktorrent/CMakeLists.txt --- ktorrent-4.2.0/ktorrent/CMakeLists.txt.mimetype_magnet 2012-02-22 07:46:47.000000000 -0600 +++ ktorrent-4.2.0/ktorrent/CMakeLists.txt 2012-05-28 20:10:14.057939643 -0500 @@ -92,9 +92,5 @@ install(FILES ktorrentui.rc DESTINATION install(FILES kttorrentactivityui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent ) install(FILES ktorrent.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ktorrent ) -if (NOT ${ENABLE_KIO_MAGNET}) - install(FILES magnet.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -endif (NOT ${ENABLE_KIO_MAGNET}) - add_subdirectory(icons) diff -up ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetype_magnet ktorrent-4.2.0/ktorrent/ktorrent.desktop --- ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetype_magnet 2012-02-22 07:46:47.000000000 -0600 +++ ktorrent-4.2.0/ktorrent/ktorrent.desktop 2012-05-28 20:06:05.868042447 -0500 @@ -116,7 +116,7 @@ Exec=ktorrent %i -caption "%c" %u Icon=ktorrent Type=Application X-DocPath=ktorrent/index.html -MimeType=application/x-bittorrent;application/x-torrent; +MimeType=application/x-bittorrent;application/x-torrent;x-scheme-handler/magnet; X-DBUS-StartupType=Unique X-DBUS-ServiceName=org.ktorrent.ktorrent Comment=A BitTorrent program for KDE