diff --git a/functions.h b/functions.h index 7fb73fd..7d4a834 100644 --- a/functions.h +++ b/functions.h @@ -464,10 +464,12 @@ namespace { if(QFile::exists("/run/wifi_connected_successfully")) { if(checkconfig("/run/wifi_connected_successfully") == true) { QFile::remove("/run/wifi_connected_successfully"); + connectionSuccessful = 1; return true; } else { QFile::remove("/run/wifi_connected_successfully"); + connectionSuccessful = 0; return false; } }