Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index 44c721a..6a56358 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -175,3 +175,3 @@ void WLANImp::changeAndSaveSettingFile(){ stream << " restricted"; - stream << "\n\""; + stream << "\"\n"; } @@ -184,3 +184,3 @@ void WLANImp::changeAndSaveSettingFile(){ output = true; - if(output) + if(output && (*it).length() ) stream << (*it) << '\n'; @@ -210,4 +210,2 @@ void WLANImp::accept(){ - QDialog::accept(); - return; // Restart the device now that the settings have changed |