diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-21 07:32:07 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-21 07:32:07 +0000 |
commit | acf6a8d6095c55185c4560a154b7155395ee2b84 (patch) | |
tree | d7f4265c122fb6a0d86b92ac8d8144b889cff9dc /net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp | |
parent | Forced commit to note repocopy from net/knemo to net/knemo-kde4 (diff) |
Update to 0.6.80 for KDE4
Notes
Notes:
svn path=/head/; revision=261525
Diffstat (limited to 'net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp')
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp b/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp deleted file mode 100644 index 9dce92066cf6..000000000000 --- a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp +++ /dev/null @@ -1,34 +0,0 @@ ---- src/knemod/interfacetooltip.cpp.orig Sat Apr 1 21:44:22 2006 -+++ src/knemod/interfacetooltip.cpp Sun Apr 2 21:30:52 2006 -@@ -101,6 +101,23 @@ - - if ( data.available ) - { -+#ifdef Q_OS_FREEBSD -+ QDictIterator<AddrData> it( data.addrData ); -+ for( ; it.current(); ++it ) -+ { -+ if ( toolTipContent & IP_ADDRESS ) -+ text += "<tr><td>" + mToolTips[4].first + "</td><td>" + it.currentKey() + "</td></tr>"; -+ if ( toolTipContent & SUBNET_MASK ) -+ text += "<tr><td>" + mToolTips[5].first + "</td><td>" + it.current()->subnetMask + "</td></tr>"; -+ if ( mInterface->getType() == Interface::ETHERNET ) -+ { -+ if ( toolTipContent & BCAST_ADDRESS ) -+ text += "<tr><td>" + mToolTips[18].first + "</td><td>" + it.current()->broadcastAddress + "</td></tr>"; -+ } -+ } -+ if ( mInterface->getType() == Interface::ETHERNET ) -+ { -+#else - if ( toolTipContent & IP_ADDRESS ) - text += "<tr><td>" + mToolTips[4].first + "</td><td>" + data.ipAddress + "</td></tr>"; - if ( toolTipContent & SUBNET_MASK ) -@@ -109,6 +126,7 @@ - { - if ( toolTipContent & BCAST_ADDRESS ) - text += "<tr><td>" + mToolTips[18].first + "</td><td>" + data.broadcastAddress + "</td></tr>"; -+#endif - if ( toolTipContent & GATEWAY ) - text += "<tr><td>" + mToolTips[19].first + "</td><td>" + data.defaultGateway + "</td></tr>"; - if ( toolTipContent & HW_ADDRESS ) |