Repair syntax error that snuck in

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1152788 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 856eea7169
commit 682bf3bfdc

@ -27,9 +27,11 @@
#include "query.h" #include "query.h"
#include "servicebrowser.h" #include "servicebrowser.h"
#include <kapplication.h> #include <kapplication.h>
#ifdef HAVE_DNSSD
#ifdef AVAHI_API_0_6 #ifdef AVAHI_API_0_6
#include <avahi-client/lookup.h> #include <avahi-client/lookup.h>
#endif #endif
#endif
namespace DNSSD namespace DNSSD
{ {
@ -48,11 +50,11 @@ void domains_callback(AvahiDomainBrowser*, AvahiIfIndex, AvahiProtocol, AvahiBr
class DomainBrowserPrivate class DomainBrowserPrivate
{ {
public: public:
DomainBrowserPrivate(DomainBrowser* owner) : m_browseLAN(false), m_started(false)
#ifdef HAVE_DNSSD #ifdef HAVE_DNSSD
, m_browser(0), m_owner(owner) DomainBrowserPrivate(DomainBrowser* owner) : m_browseLAN(false), m_started(false), m_browser(0), m_owner(owner) {}
#else
DomainBrowserPrivate(DomainBrowser* owner) : m_browseLAN(false), m_started(false) {}
#endif #endif
{}
#ifdef HAVE_DNSSD #ifdef HAVE_DNSSD
~DomainBrowserPrivate() { if (m_browser) avahi_domain_browser_free(m_browser); } ~DomainBrowserPrivate() { if (m_browser) avahi_domain_browser_free(m_browser); }
#endif #endif

Loading…
Cancel
Save