diff options
Diffstat (limited to 'kmyfirewall/core/kmfnethost.cpp')
-rw-r--r-- | kmyfirewall/core/kmfnethost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmyfirewall/core/kmfnethost.cpp b/kmyfirewall/core/kmfnethost.cpp index 20bdefa..1b5cac3 100644 --- a/kmyfirewall/core/kmfnethost.cpp +++ b/kmyfirewall/core/kmfnethost.cpp @@ -46,7 +46,7 @@ namespace KMF { -KMFNetHost::KMFNetHost( NetfilterObject *tqparent, const char* name, const TQString& hostName, KMFNetwork* net ) : KMFTarget( tqparent, name, hostName, net ) { +KMFNetHost::KMFNetHost( NetfilterObject *parent, const char* name, const TQString& hostName, KMFNetwork* net ) : KMFTarget( parent, name, hostName, net ) { m_logIncoming = false; m_logOutgoing = false; m_guiName = i18n("New Host"); @@ -56,7 +56,7 @@ KMFNetHost::KMFNetHost( NetfilterObject *tqparent, const char* name, const TQStr m_protocols.setAutoDelete( false ); setName( hostName ); // m_object_type = NETHOST; - if ( KMFNetZone* zone = dynamic_cast<KMFNetZone*> ( tqparent ) ) { + if ( KMFNetZone* zone = dynamic_cast<KMFNetZone*> ( parent ) ) { m_zone = zone; m_address->setAddress( m_zone->address()->toString() ); } else { |