summaryrefslogtreecommitdiff
path: root/ui/qt5
diff options
context:
space:
mode:
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;