A patch is available in kimap master.
#7 0xb73610fa in QMetaObject::invokeMethod (obj=0x530044, member=0xb5fbc1d5 "doSslErrorHandlerResponse", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166 #8 0xb5f97440 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0xb5fbc1d5 "doSslErrorHandlerResponse", obj=0x530044) at /usr/include/qt4/QtCore/qobjectdefs.h:434 #9 KIMAP::SessionThread::sslErrorHandlerResponse (this=0x530044, response=true) at ../../kimap/sessionthread.cpp:274 #10 0xb5f9115e in KIMAP::SessionPrivate::handleSslError (this=0x8996f88, errorData=...) at ../../kimap/session.cpp:136 #11 0xb5f95a4f in qt_static_metacall (_a=0xaee1c070, _id=11, _o=0x8996f88, _c=<optimized out>) at ./moc_session_p.cpp:83 #12 KIMAP::SessionPrivate::qt_static_metacall (_o=0x8996f88, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xaee1c070) at ./moc_session_p.cpp:66 #13 0xb7368101 in QMetaCallEvent::placeMetaCall (this=0xae2aadc0, object=0x8996f88) at kernel/qobject.cpp:525 #14 0xb737117b in QObject::event (this=0x8996f88, e=0xae2aadc0) at kernel/qobject.cpp:1195 #15 0xb683fdf4 in notify_helper (e=0xae2aadc0, receiver=0x8996f88, this=0x86f97b8) at kernel/qapplication.cpp:4556 #16 QApplicationPrivate::notify_helper (this=0x86f97b8, receiver=0x8996f88, e=0xae2aadc0) at kernel/qapplication.cpp:4528 #17 0xb684515d in QApplication::notify (this=0xae2aadc0, receiver=0x8996f88, e=0xae2aadc0) at kernel/qapplication.cpp:4285 #18 0xb5b8ff61 in KApplication::notify (this=0xbfd3ed70, receiver=0x8996f88, event=0xae2aadc0) at ../../kdeui/kernel/kapplication.cpp:311