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

segfault fix

parent e241c935
No related branches found
No related tags found
No related merge requests found
...@@ -933,6 +933,18 @@ ManagerImpl::callFailure(CALLID id) { ...@@ -933,6 +933,18 @@ ManagerImpl::callFailure(CALLID id) {
} }
} }
Tone *
ManagerImpl::getTelephoneTone()
{
if(_telephoneTone) {
return _telephoneTone->getCurrentTone();
}
else {
return NULL;
}
}
/** /**
* Multi Thread * Multi Thread
*/ */
......
...@@ -203,7 +203,7 @@ name); ...@@ -203,7 +203,7 @@ name);
void callFailure(CALLID id); void callFailure(CALLID id);
// return 0 if no tone (init before calling this function) // return 0 if no tone (init before calling this function)
Tone* getTelephoneTone() { return _telephoneTone->getCurrentTone(); }; Tone* getTelephoneTone();
/** /**
* @return true is there is one or many incoming call waiting * @return true is there is one or many incoming call waiting
......
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