Commit 553458be authored by Christian Loose's avatar Christian Loose

fix crash when cancelling a job

svn path=/trunk/kdesdk/cervisia/; revision=199362
parent ac132dbb
......@@ -128,7 +128,10 @@ bool ProtocolView::startJob()
void ProtocolView::cancelJob()
{
childproc->kill();
if( childproc )
childproc->kill();
else
job->cancel();
}
......
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