Commit c12cea55 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by David Faure
Browse files

Keep a bit of code

parent 8bc33493
......@@ -94,6 +94,17 @@ void DNSSDNetworkBuilder::removeServiceType( const QString& serviceType )
// the serviceRemoved calls won't reach us.
// we could also go through all the devices and remove the services manually as a fix
return;
#if 0
QHash<QString,KDNSSD::ServiceBrowser*>::Iterator it = mServiceBrowserTable.find( serviceType );
if( it == mServiceBrowserTable.end() )
return;
KDNSSD::ServiceBrowser* serviceBrowser = *it;
mServiceBrowserTable.erase( it );
// TODO: will all servicesRemoved be called before? on test NO!
serviceBrowser->deleteLater();
#endif
}
void DNSSDNetworkBuilder::addService( KDNSSD::RemoteService::Ptr service )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment