mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 04:46:57 +03:00
Use Keyring in the login dialog
This commit is contained in:
parent
d24c4823ef
commit
737273348f
6 changed files with 88 additions and 18 deletions
|
|
@ -90,6 +90,12 @@ QStringList StubKeyring::getStoredAccounts(QString service)
|
|||
return out;
|
||||
}
|
||||
|
||||
void StubKeyring::removeStoredAccount ( QString service, QString username )
|
||||
{
|
||||
QString key = generateKey(service, username);
|
||||
m_settings.remove(key);
|
||||
}
|
||||
|
||||
StubKeyring::StubKeyring() :
|
||||
m_settings(QSettings::UserScope, "Orochimarufan", "Keyring")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue