Commit 14e66f6b authored by Thomas McGuire's avatar Thomas McGuire
Browse files

Fix possible crash.

I couldn't reproduce triggering this crash, but apparently it can happen in KMail.

Benoît, can you reproduce this and if yes, how?

BUG: 174992

svn path=/trunk/KDE/kdepimlibs/; revision=886171
parent a0718e7e
......@@ -162,7 +162,9 @@ Transport *TransportManager::createTransport() const
void TransportManager::addTransport( Transport *transport )
{
Q_ASSERT( !d->transports.contains( transport ) );
if ( d->transports.contains( transport ) )
return;
d->transports.append( transport );
validateDefault();
emitChangesCommitted();
......
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