Commit f838ab3f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix resource crash when we have an error => mProgressDialog was not

created
=> show it before start job
parent 5b687767
Pipeline #96402 canceled with stage
......@@ -237,8 +237,8 @@ void EwsConfigDialog::performAutoDiscovery()
connect(mAutoDiscoveryJob, &EwsAutodiscoveryJob::result, this, &EwsConfigDialog::autoDiscoveryFinished);
mProgressDialog = new EwsProgressDialog(this, EwsProgressDialog::AutoDiscovery);
connect(mProgressDialog, &QDialog::rejected, this, &EwsConfigDialog::autoDiscoveryCancelled);
mAutoDiscoveryJob->start();
mProgressDialog->show();
mAutoDiscoveryJob->start();
}
void EwsConfigDialog::autoDiscoveryFinished(KJob *job)
......
Supports Markdown
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