Commit 1b8bbe3d authored by pvuorela's avatar pvuorela

Remove unnecessary if block

parent 84b004f0
......@@ -1946,12 +1946,10 @@ bool SeasideCache::event(QEvent *event)
bool idleProcessing = false;
startRequest(&idleProcessing);
if (!m_unknownResolveAddresses.isEmpty()) {
// Report any unknown addresses
while (!m_unknownResolveAddresses.isEmpty()) {
const ResolveData &resolve = m_unknownResolveAddresses.takeFirst();
resolve.listener->addressResolved(resolve.first, resolve.second, 0);
}
// Report any unknown addresses
while (!m_unknownResolveAddresses.isEmpty()) {
const ResolveData &resolve = m_unknownResolveAddresses.takeFirst();
resolve.listener->addressResolved(resolve.first, resolve.second, 0);
}
if (!m_contactsToAppend.isEmpty() || !m_contactsToUpdate.isEmpty()) {
......
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