summaryrefslogtreecommitdiff
path: root/ui/qt5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 19:40:57 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-16 19:40:57 -0600
commit0cea6da5ef21dc8f6abe8586c72aec7c8a43dd59 (patch)
treed27213f0557c5022afba29b8c135659d8777fe41 /ui/qt5
parent8772c7b20f2d1d102392511fa81d67c905ea2eb0 (diff)
downloadhorizon-0cea6da5ef21dc8f6abe8586c72aec7c8a43dd59.tar.gz
horizon-0cea6da5ef21dc8f6abe8586c72aec7c8a43dd59.tar.bz2
horizon-0cea6da5ef21dc8f6abe8586c72aec7c8a43dd59.tar.xz
horizon-0cea6da5ef21dc8f6abe8586c72aec7c8a43dd59.zip
Qt UI: Provide wireless debugging codes
Diffstat (limited to 'ui/qt5')
-rw-r--r--ui/qt5/netsimplewifipage.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc
index e3c2eb9..ca2607e 100644
--- a/ui/qt5/netsimplewifipage.cc
+++ b/ui/qt5/netsimplewifipage.cc
@@ -89,7 +89,7 @@ void NetworkSimpleWirelessPage::doScan() {
response = wpactrl_command_g(&control, "SCAN");
if(response != WPA_OK && response != WPA_FAILBUSY) {
- scanDone(tr("Couldn't scan for wireless networks."));
+ scanDone(tr("Couldn't scan for wireless networks (Code %1)").arg(response));
return;
}
@@ -118,7 +118,8 @@ void NetworkSimpleWirelessPage::doScan() {
} else {
int code = wpactrl_xchg_event_g(&control, &exchange);
if(code < 0) {
- status = tr("Issue processing scanned networks.");
+ status = tr("Issue processing scanned networks (Code %1)")
+ .arg(code);
} else if(code == 0) {
/* Not finished yet, so don't do anything. */
return;