From 938ba3bd39ce149faea3e53f61b961ffbabe57c1 Mon Sep 17 00:00:00 2001 From: jpbl <jpbl> Date: Fri, 14 Oct 2005 15:48:58 +0000 Subject: [PATCH] playtone is used only when necessary --- src/gui/official/PhoneLineManagerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/official/PhoneLineManagerImpl.cpp b/src/gui/official/PhoneLineManagerImpl.cpp index 976f0064de..bdbe2b8834 100644 --- a/src/gui/official/PhoneLineManagerImpl.cpp +++ b/src/gui/official/PhoneLineManagerImpl.cpp @@ -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()); -- GitLab