mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
[dialer] Simplify checking for call in progress
The connection will always be existing, unless the network is down at which point the channel is already invalid. No point for checking for it then.
This commit is contained in:
parent
9795b7a9cb
commit
2092cbc59a
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ void TpCaller::dial(const QString &number)
|
|||
|
||||
bool TpCaller::callInProgress()
|
||||
{
|
||||
return m_callChannel && m_callChannel->isValid() && m_callChannel->connection();
|
||||
return m_callChannel && m_callChannel->isValid();
|
||||
}
|
||||
|
||||
void TpCaller::hangUp()
|
||||
|
|
|
|||
Loading…
Reference in a new issue