[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-nm] declarative-plugins/model: Remove unnecessary condition
From:       Jan Grulich <jgrulich () redhat ! com>
Date:       2013-03-31 22:12:22
Message-ID: 20130331221222.9CD9BA604F () git ! kde ! org
[Download RAW message or body]

Git commit b229e142eefc835b2e9e6683e59ef18f97d84fc1 by Jan Grulich.
Committed on 01/04/2013 at 00:12.
Pushed by grulich into branch 'master'.

Remove unnecessary condition

M  +0    -4    declarative-plugins/model/modelwirelessitem.cpp

http://commits.kde.org/plasma-nm/b229e142eefc835b2e9e6683e59ef18f97d84fc1

diff --git a/declarative-plugins/model/modelwirelessitem.cpp \
b/declarative-plugins/model/modelwirelessitem.cpp index 57b9d33..cb76614 100644
--- a/declarative-plugins/model/modelwirelessitem.cpp
+++ b/declarative-plugins/model/modelwirelessitem.cpp
@@ -201,10 +201,6 @@ void ModelWirelessItem::onSignalStrengthChanged(int strength)
     m_previousSignal = m_signal;
     m_signal = strength;
 
-    if (m_previousSignal - m_signal >= 25 ||
-        m_previousSignal - m_signal <= 25) {
-    }
-
     updateDetails();
 
     emit itemChanged();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic