From d32ef5ceea0c6b78223c873f6ab2f2bdb4c44a8e Mon Sep 17 00:00:00 2001 From: Thomas Abthorpe Date: Wed, 2 Sep 2009 06:34:21 +0000 Subject: [PATCH] - Removed patch that was integrated upstream PR: ports/138471 Submitted by: Andrei Lavreniyuk --- ...atch-plasma-applets-system-monitor-net.cpp | 21 ------------------- ...atch-plasma-applets-system-monitor-net.cpp | 21 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 x11/kde4-workspace/files/patch-plasma-applets-system-monitor-net.cpp delete mode 100644 x11/kdebase4-workspace/files/patch-plasma-applets-system-monitor-net.cpp diff --git a/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-net.cpp b/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-net.cpp deleted file mode 100644 index 4d448a436d35..000000000000 --- a/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-net.cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- plasma/applets/system-monitor/net.cpp.orig 2009-08-21 01:22:09.000000000 +0200 -+++ plasma/applets/system-monitor/net.cpp 2009-08-21 01:28:00.000000000 +0200 -@@ -26,7 +26,7 @@ - - SM::Net::Net(QObject *parent, const QVariantList &args) - : SM::Applet(parent, args) -- , m_rx("network/interfaces/(\\w+)/transmitter/data") -+ , m_rx("^network/interfaces/(\\w+)/transmitter/data$") - { - setHasConfigurationInterface(true); - resize(234 + 20 + 23, 135 + 20 + 25); -@@ -58,7 +58,8 @@ - connect(engine(), SIGNAL(sourceRemoved(const QString&)), - this, SLOT(sourceRemoved(const QString&))); - if (!engine()->sources().isEmpty()) { -- sourcesAdded(); -+ foreach (const QString& source, engine()->sources()) -+ sourceAdded(source); - } - } - diff --git a/x11/kdebase4-workspace/files/patch-plasma-applets-system-monitor-net.cpp b/x11/kdebase4-workspace/files/patch-plasma-applets-system-monitor-net.cpp deleted file mode 100644 index 4d448a436d35..000000000000 --- a/x11/kdebase4-workspace/files/patch-plasma-applets-system-monitor-net.cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- plasma/applets/system-monitor/net.cpp.orig 2009-08-21 01:22:09.000000000 +0200 -+++ plasma/applets/system-monitor/net.cpp 2009-08-21 01:28:00.000000000 +0200 -@@ -26,7 +26,7 @@ - - SM::Net::Net(QObject *parent, const QVariantList &args) - : SM::Applet(parent, args) -- , m_rx("network/interfaces/(\\w+)/transmitter/data") -+ , m_rx("^network/interfaces/(\\w+)/transmitter/data$") - { - setHasConfigurationInterface(true); - resize(234 + 20 + 23, 135 + 20 + 25); -@@ -58,7 +58,8 @@ - connect(engine(), SIGNAL(sourceRemoved(const QString&)), - this, SLOT(sourceRemoved(const QString&))); - if (!engine()->sources().isEmpty()) { -- sourcesAdded(); -+ foreach (const QString& source, engine()->sources()) -+ sourceAdded(source); - } - } -