Index: plugins/duchainviewer/duchainmodel.cpp =================================================================== --- plugins/duchainviewer/duchainmodel.cpp (revision 868576) +++ plugins/duchainviewer/duchainmodel.cpp (working copy) @@ -557,6 +557,7 @@ KProcess proc2; proc2 << "dotty" << fileName; if( !proc2.startDetached() ) { + readLock.unlock(); KMessageBox::error(0, i18n("Could not open %1 with kgraphviewer or dotty.", fileName)); } }