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

List:       kde-commits
Subject:    KDE/kdebase/workspace/solid/networkmanager-0.7
From:       Christopher Blauvelt <cblauvelt () gmail ! com>
Date:       2008-06-24 12:25:43
Message-ID: 1214310343.792145.4936.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 823874 by cblauvelt:

Populate the Active Access Point property in the constructor.



 M  +6 -5      wirelessnetworkinterface.cpp  


--- trunk/KDE/kdebase/workspace/solid/networkmanager-0.7/wirelessnetworkinterface.cpp #823873:823874
@@ -6,7 +6,7 @@
 published by the Free Software Foundation; either version 2 of
 the License or (at your option) version 3 or any later version
 accepted by the membership of KDE e.V. (or its successor approved
-by the membership of KDE e.V.), which shall act as a proxy 
+by the membership of KDE e.V.), which shall act as a proxy
 defined in Section 14 of version 3 of the license.
 
 This program is distributed in the hope that it will be useful,
@@ -50,6 +50,7 @@
     d->hardwareAddress = d->wirelessIface.hwAddress();
     d->mode = convertOperationMode(d->wirelessIface.mode());
     d->bitRate = d->wirelessIface.bitrate();
+    d->activeAccessPoint = d->wirelessIface.activeAccessPoint().path();
     d->wirelessCapabilities = convertCapabilities(d->wirelessIface.wirelessCapabilities());
 
     connect( &d->wirelessIface, SIGNAL(PropertiesChanged(const QVariantMap &)),
@@ -122,10 +123,10 @@
     kDebug(1441) << changedProperties.keys();
     QStringList propKeys = changedProperties.keys();
     Q_D(NMWirelessNetworkInterface);
-    QLatin1String activeApKey("ActiveAccessPoint"), 
-                  hwAddrKey("HwAddress"), 
-                  bitRateKey("Bitrate"), 
-                  modeKey("Mode"), 
+    QLatin1String activeApKey("ActiveAccessPoint"),
+                  hwAddrKey("HwAddress"),
+                  bitRateKey("Bitrate"),
+                  modeKey("Mode"),
                   wirelessCapsKey("WirelessCapabilities");
     QVariantMap::const_iterator it = changedProperties.find(activeApKey);
     if (it != changedProperties.end()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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