-rw-r--r-- | core/settings/security/security.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp index 00ea105..42a39c2 100644 --- a/core/settings/security/security.cpp +++ b/core/settings/security/security.cpp | |||
@@ -226,33 +226,33 @@ void Security::toggleAutoLogin(bool val) | |||
226 | autoLoginName=userlist->currentText(); | 226 | autoLoginName=userlist->currentText(); |
227 | } | 227 | } |
228 | 228 | ||
229 | 229 | ||
230 | 230 | ||
231 | 231 | ||
232 | void Security::setSyncNet(const QString& sn) | 232 | void Security::setSyncNet(const QString& sn) |
233 | { | 233 | { |
234 | int auth_peer,auth_peer_bits; | 234 | int auth_peer,auth_peer_bits; |
235 | parseNet(sn,auth_peer,auth_peer_bits); | 235 | parseNet(sn,auth_peer,auth_peer_bits); |
236 | selectNet(auth_peer,auth_peer_bits); | 236 | selectNet(auth_peer,auth_peer_bits); |
237 | } | 237 | } |
238 | 238 | ||
239 | void Security::applySecurity() | 239 | void Security::applySecurity() |
240 | { | 240 | { |
241 | if ( valid ) { | 241 | if ( valid ) { |
242 | <<<<<<< security.cpp | 242 | |
243 | Config cfg("Security"); | 243 | Config cfg("Security"); |
244 | cfg.setGroup("Passcode"); | 244 | cfg.setGroup("Passcode"); |
245 | cfg.writeEntry("passcode",passcode); | 245 | cfg.writeEntry("passcode",passcode); |
246 | cfg.writeEntry("passcode_poweron",passcode_poweron->isChecked()); | 246 | cfg.writeEntry("passcode_poweron",passcode_poweron->isChecked()); |
247 | cfg.setGroup("Sync"); | 247 | cfg.setGroup("Sync"); |
248 | int auth_peer=0; | 248 | int auth_peer=0; |
249 | int auth_peer_bits; | 249 | int auth_peer_bits; |
250 | QString sn = syncnet->currentText(); | 250 | QString sn = syncnet->currentText(); |
251 | parseNet(sn,auth_peer,auth_peer_bits); | 251 | parseNet(sn,auth_peer,auth_peer_bits); |
252 | cfg.writeEntry("auth_peer",auth_peer); | 252 | cfg.writeEntry("auth_peer",auth_peer); |
253 | cfg.writeEntry("auth_peer_bits",auth_peer_bits); | 253 | cfg.writeEntry("auth_peer_bits",auth_peer_bits); |
254 | /* | 254 | /* |
255 | cfg.setGroup("Remote"); | 255 | cfg.setGroup("Remote"); |
256 | if ( telnetAvailable() ) | 256 | if ( telnetAvailable() ) |
257 | cfg.writeEntry("allow_telnet",telnet->isChecked()); | 257 | cfg.writeEntry("allow_telnet",telnet->isChecked()); |
258 | if ( sshAvailable() ) | 258 | if ( sshAvailable() ) |