Skip to content
Snippets Groups Projects
Commit c380426a authored by jpbl's avatar jpbl
Browse files

hanuping behaves correctly

parent c28eee19
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ PhoneLine::unselect(bool hardselect)
{
if(mSelected) {
DebugOutput::instance() << tr("PhoneLine %1: I am unselected.\n").arg(mLine);
setAction("");
mSelected = false;
if(mIsOnError) {
close();
......@@ -281,10 +282,8 @@ PhoneLine::hangup(bool sendrequest)
if(sendrequest) {
mCall->hangup();
}
else {
delete mCall;
mCall = NULL;
}
delete mCall;
mCall = NULL;
}
else {
clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment