summaryrefslogtreecommitdiffstats
path: root/plugins/zeroconf/zeroconfplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zeroconf/zeroconfplugin.cpp')
-rw-r--r--plugins/zeroconf/zeroconfplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/zeroconf/zeroconfplugin.cpp b/plugins/zeroconf/zeroconfplugin.cpp
index 462b6a0..3427900 100644
--- a/plugins/zeroconf/zeroconfplugin.cpp
+++ b/plugins/zeroconf/zeroconfplugin.cpp
@@ -84,7 +84,7 @@ namespace kt
void ZeroConfPlugin::torrentAdded(kt::TorrentInterface* tc)
{
- if (services.tqcontains(tc))
+ if (services.contains(tc))
return;
bt::Uint16 port = bt::Globals::instance().getServer().getPortInUse();
@@ -100,7 +100,7 @@ namespace kt
void ZeroConfPlugin::torrentRemoved(kt::TorrentInterface* tc)
{
- AvahiService* av = services.tqfind(tc);
+ AvahiService* av = services.find(tc);
if (!av)
return;
Out(SYS_ZCO|LOG_NOTICE) << "ZeroConf service removed for "