| 111 | } |
| 112 | |
| 113 | int SettingsDialog::SaveMasterPassword() { |
| 114 | char password[Encryption::KeySize+1]; |
| 115 | ::GetDlgItemTextA(m_hwnd, IDC_EDIT_MASTERPASS, password, Encryption::KeySize+1); |
| 116 | Encryption::SetDefaultKey(password); |
| 117 | |
| 118 | return 0; |
| 119 | } |
| 120 | |
| 121 | int SettingsDialog::SaveClearCache() { |
| 122 | LRESULT checked = Button_GetCheck(::GetDlgItem(m_hwnd, IDC_CHECK_CLEARCACHE)); |
nothing calls this directly
no outgoing calls
no test coverage detected