mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
fix indents, add comment
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
b52292db92
commit
61884d1ada
2 changed files with 13 additions and 14 deletions
|
@ -587,13 +587,12 @@ void WebFlowCredentials::slotReadPasswordJobDone(Job *incomingJob) {
|
|||
if (_keychainMigration && _ready) {
|
||||
_keychainMigration = false;
|
||||
persist();
|
||||
deleteKeychainEntries(true);
|
||||
deleteKeychainEntries(true); // true: delete old entries
|
||||
qCInfo(lcWebFlowCredentials) << "Migrated old keychain entries";
|
||||
}
|
||||
}
|
||||
|
||||
void WebFlowCredentials::deleteKeychainEntries(bool oldKeychainEntries)
|
||||
{
|
||||
void WebFlowCredentials::deleteKeychainEntries(bool oldKeychainEntries) {
|
||||
auto startDeleteJob = [this, oldKeychainEntries](QString user) {
|
||||
DeletePasswordJob *job = new DeletePasswordJob(Theme::instance()->appName());
|
||||
addSettingsToJob(_account, job);
|
||||
|
|
|
@ -14,7 +14,7 @@ class QNetworkReply;
|
|||
class QAuthenticator;
|
||||
|
||||
namespace QKeychain {
|
||||
class Job;
|
||||
class Job;
|
||||
}
|
||||
|
||||
namespace OCC {
|
||||
|
|
Loading…
Reference in a new issue