-rw-r--r-- | core/settings/security/security.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp index 6c1931a..2821f4b 100644 --- a/core/settings/security/security.cpp +++ b/core/settings/security/security.cpp | |||
@@ -184,36 +184,36 @@ void Security::applySecurity() | |||
184 | cfg.setGroup("Remote"); | 184 | cfg.setGroup("Remote"); |
185 | if ( telnetAvailable() ) | 185 | if ( telnetAvailable() ) |
186 | cfg.writeEntry("allow_telnet",telnet->isChecked()); | 186 | cfg.writeEntry("allow_telnet",telnet->isChecked()); |
187 | if ( sshAvailable() ) | 187 | if ( sshAvailable() ) |
188 | cfg.writeEntry("allow_ssh",ssh->isChecked()); | 188 | cfg.writeEntry("allow_ssh",ssh->isChecked()); |
189 | // ### write ssh/telnet sys config files | 189 | // ### write ssh/telnet sys config files |
190 | */ | 190 | */ |
191 | } | 191 | } |
192 | } | 192 | } |
193 | 193 | ||
194 | void Security::changePassCode() | 194 | void Security::changePassCode() |
195 | { | 195 | { |
196 | QString new1; | 196 | QString new1; |
197 | QString new2; | 197 | QString new2; |
198 | 198 | ||
199 | do { | 199 | do { |
200 | new1 = enterPassCode("Enter new passcode"); | 200 | new1 = enterPassCode(tr("Enter new passcode")); |
201 | if ( new1.isNull() ) | 201 | if ( new1.isNull() ) |
202 | return; | 202 | return; |
203 | new2 = enterPassCode("Re-enter new passcode"); | 203 | new2 = enterPassCode(tr("Re-enter new passcode")); |
204 | if ( new2.isNull() ) | 204 | if ( new2.isNull() ) |
205 | return; | 205 | return; |
206 | } while (new1 != new2); | 206 | } while (new1 != new2); |
207 | 207 | ||
208 | passcode = new1; | 208 | passcode = new1; |
209 | updateGUI(); | 209 | updateGUI(); |
210 | } | 210 | } |
211 | 211 | ||
212 | void Security::clearPassCode() | 212 | void Security::clearPassCode() |
213 | { | 213 | { |
214 | passcode = QString::null; | 214 | passcode = QString::null; |
215 | updateGUI(); | 215 | updateGUI(); |
216 | } | 216 | } |
217 | 217 | ||
218 | 218 | ||
219 | QString Security::enterPassCode(const QString& prompt) | 219 | QString Security::enterPassCode(const QString& prompt) |