GCC 4.7 fixes.

pull/1/head
Darrell Anderson 12 years ago
parent b04955edf4
commit 88d2d2a710

@ -312,7 +312,7 @@ void KMFGenericInterfaceProtocol::slotProtocolClicked( KMFProtocolUsage* protUsa
m_zone,
i18n("Add protocol %1 to zone %2.").arg( protUsage->protocol()->name() ).arg( m_zone->guiName() )
);
KMFProtocolUsage * pro = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() );
KMFProtocolUsage * prot = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() );
if ( pro ) {
kdDebug() << "Added Protocol to zone: " << m_zone-> name() << endl;
@ -349,7 +349,7 @@ void KMFGenericInterfaceProtocol::slotProtocolClicked( KMFProtocolUsage* protUsa
m_host,
i18n("Add protocol %1 to host %2.").arg( protUsage->protocol()->name() ).arg( m_host->guiName() )
);
KMFProtocolUsage * pro = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() );
KMFProtocolUsage * prot = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() );
if ( pro ) {
kdDebug() << "Added Protocol to host: " << m_host-> name() << endl;

Loading…
Cancel
Save