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

playtone is used only when necessary

parent 300783be
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,7 @@ PhoneLineManagerImpl::select(PhoneLine *line, bool hardselect)
mCurrentLine = line;
mCurrentLine->select(hardselect);
if(!mCurrentLine->isAvailable()) {
if(mCurrentLine->isAvailable() && !hardselect) {
mSession->playTone();
}
emit lineStatusSet(mCurrentLine->getLineStatus());
......
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