diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kde4-workspace/files/patch-plasma-applets-system-monitor-net.cpp | 21 | ||||
-rw-r--r-- | x11/kdebase4-workspace/files/patch-plasma-applets-system-monitor-net.cpp | 21 |
2 files changed, 0 insertions, 42 deletions
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); - } - } - |