diff options
| author | Simeon Simeonov | 2018-04-15 21:58:06 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2018-04-15 21:58:06 +0200 |
| commit | 7f2064ed526db2e54b3ebde04e58beaffbb397ed (patch) | |
| tree | 5aac51841b582d89489c37e6b2a303840e7cfb87 /src/main.c | |
| parent | a651d4876f775a2b00f88df49ead47557c6cc18e (diff) | |
Finish master password unload issue. Fix an old bug reintroduced by the magic of copy & paste
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -426,9 +426,6 @@ int main(int argc, char *argv[]) | |||
| 426 | if (prefs_common.auto_unload_master_password && master_password_active()) { | 426 | if (prefs_common.auto_unload_master_password && master_password_active()) { |
| 427 | debug_print("Auto unloading master password\n"); | 427 | debug_print("Auto unloading master password\n"); |
| 428 | unload_master_password(); | 428 | unload_master_password(); |
| 429 | /* call this function every 10th minute in case a reload took place */ | ||
| 430 | /* TODO: Perhaps a more elegant solution could be developed */ | ||
| 431 | g_timeout_add(1000 * 60 * 10, unload_master_password, NULL); | ||
| 432 | } | 429 | } |
| 433 | #endif | 430 | #endif |
| 434 | 431 | ||
