1) remove the doInintWifiList 2) call the wifiInforequest 3) add a function to highlight the active connection(empty or not) 4) The function in step 3 needs to be called in the call of step 2.
If I remember correctly, we decided to assign the rest of the string to the DNS and manipulate it in the QML.
Generally, always use i++ in all for loops to maintain consistency.
Please consider using the mid function from the QStringList, which uses \n as a delimiter. Additionally, we can avoid using the "," since we are breaking into lines.