summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-26 13:09:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-26 13:09:21 -0600
commit1351acec11a5f985ef664119c54aba254195f8b2 (patch)
treec2fc19cd9fc5f97ff68bddd8c4531b729f41c6ae /tdecore/tdenetworkconnections.cpp
parent08df31ba2c9f242e74a4e61743db1a808a80a356 (diff)
downloadtdelibs-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.cpp11
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) {