Commit 1fe3a529 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/release/19.12'

parents 188f8fd6 ccc6bd33
......@@ -98,6 +98,7 @@ void DKIMDownloadKeyJob::resolvDnsDone()
// Handle the results.
const auto records = mDnsLookup->textRecords();
QList<QByteArray> textRecordResult;
textRecordResult.reserve(records.count());
for (const QDnsTextRecord &record : records) {
textRecordResult << record.values();
}
......
......@@ -70,6 +70,7 @@ void DMARCRecordJob::resolvDnsDone()
// Handle the results.
const auto records = mDnsLookup->textRecords();
QList<QByteArray> textRecordResult;
textRecordResult.reserve(records.count());
for (const QDnsTextRecord &record : records) {
textRecordResult << record.values();
}
......
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