Added the capability to reset the password manager
Also some documentation about the password manager.
This commit is contained in:
parent
f8528143ac
commit
4fa2189b27
17 changed files with 233 additions and 85 deletions
|
|
@ -351,7 +351,17 @@ void ConnectionTreeModel::save(const QString &group_name, const ConnectionConfig
|
|||
|
||||
void ConnectionTreeModel::save(const ConnectionConfig &cc)
|
||||
{
|
||||
saveToDb(cc);
|
||||
saveToDb(cc);
|
||||
}
|
||||
|
||||
void ConnectionTreeModel::clearAllPasswords()
|
||||
{
|
||||
for (auto group : m_groups)
|
||||
for (auto cc : group->connections())
|
||||
{
|
||||
cc->setEncodedPassword({});
|
||||
saveToDb(*cc);
|
||||
}
|
||||
}
|
||||
|
||||
std::tuple<int, int> ConnectionTreeModel::findConfig(const QUuid uuid) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue