diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-26 13:09:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-26 13:09:21 -0600 |
commit | 1351acec11a5f985ef664119c54aba254195f8b2 (patch) | |
tree | c2fc19cd9fc5f97ff68bddd8c4531b729f41c6ae /tdecore/tdenetworkconnections.cpp | |
parent | 08df31ba2c9f242e74a4e61743db1a808a80a356 (diff) | |
download | tdelibs-1351acec11a5f985ef664119c54aba254195f8b2.tar.gz tdelibs-1351acec11a5f985ef664119c54aba254195f8b2.zip |
Fix network-manager backend
Add Bluetooth device detection
Diffstat (limited to 'tdecore/tdenetworkconnections.cpp')
-rw-r--r-- | tdecore/tdenetworkconnections.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp index 14117d990..5f1f85414 100644 --- a/tdecore/tdenetworkconnections.cpp +++ b/tdecore/tdenetworkconnections.cpp @@ -208,7 +208,16 @@ void TDEMACAddress::setAddress(TDENetworkByteList address) { } bool TDEMACAddress::isValid() { - return m_isValid; + if (!m_isValid) { + return false; + } + + if (m_macAddress.count() > 0) { + return true; + } + else { + return false; + } } void TDEMACAddress::fromString(TQString address) { |