summaryrefslogtreecommitdiffstats
path: root/tdecore/networkbackends
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-04 10:41:16 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-04 10:41:16 -0500
commit50a9b042eef60a6531b7fbb3c467342ac592d9e3 (patch)
treec210d4c0c3c2876782981631b9b624e3328eee65 /tdecore/networkbackends
parentaaaec8b3f88a53ce2ec3b9295774523b6f2d8c82 (diff)
downloadtdelibs-50a9b042eef60a6531b7fbb3c467342ac592d9e3.tar.gz
tdelibs-50a9b042eef60a6531b7fbb3c467342ac592d9e3.zip
Add more descriptive TDENetworkGlobalManagerFlags::BackendUnavailable type
Diffstat (limited to 'tdecore/networkbackends')
-rw-r--r--tdecore/networkbackends/network-manager/network-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/networkbackends/network-manager/network-manager.cpp b/tdecore/networkbackends/network-manager/network-manager.cpp
index 3a303237b..57ae8672d 100644
--- a/tdecore/networkbackends/network-manager/network-manager.cpp
+++ b/tdecore/networkbackends/network-manager/network-manager.cpp
@@ -1240,14 +1240,14 @@ TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags TDENetworkConnectionM
if (error.isValid()) {
// Error!
PRINT_ERROR(error.name())
- return TDENetworkGlobalManagerFlags::Unknown;
+ return TDENetworkGlobalManagerFlags::BackendUnavailable;
}
else {
return nmGlobalStateToTDEGlobalState(ret);
}
}
else {
- return TDENetworkGlobalManagerFlags::Unknown;
+ return TDENetworkGlobalManagerFlags::BackendUnavailable;
}
}