Commit 9c4c7d07 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare to use async for getting password

parent 82cfce03
Pipeline #41517 failed with stage
in 12 minutes and 40 seconds
......@@ -73,10 +73,14 @@ void FindAccountInfoJob::start()
const QString pwd = mPasswordProvider->password(mIdentifier);
passwordDone(pwd, server);
void FindAccountInfoJob::passwordDone(const QString &pwd, const QString &server)
QUrl sieveUrl;
const QString pwd = mPasswordProvider->password(mIdentifier);
if (mCustomImapSettingsInterface->sieveReuseConfig()) {
// assemble Sieve url from the settings of the account:
......@@ -39,6 +39,7 @@ Q_SIGNALS:
void findAccountInfoFinished(const KSieveUi::Util::AccountInfo &info);
void passwordDone(const QString &pwd, const QString &server);
void sendAccountInfo();
KSieveUi::Util::AccountInfo mAccountInfo;
QString mIdentifier;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment