job->setKey(kck);
job->start();
- // Also ensure the password is deleted from the deprecated place
- // otherwise we'd possibly read and use it again and again.
- DeletePasswordJob *job2 = new DeletePasswordJob(Theme::instance()->appName());
- // no job2->setSettings() call here, to make it use the deprecated location.
- job2->setInsecureFallback(true);
- job2->setKey(kck);
- job2->start();
-
// let QNAM forget about the password
// This needs to be done later in the event loop because we might be called (directly or
// indirectly) from QNetworkAccessManagerPrivate::authenticationRequired, which itself