Skip to content
Snippets Groups Projects
Commit a767690f authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Sébastien Blin
Browse files

misc: crash fix for calladapter when there is no account

Change-Id: I6432c6ebb7776bb0968846c661bd98ed78cde2bb
parent f09b9a08
Branches
Tags
No related merge requests found
...@@ -35,6 +35,7 @@ CallAdapter::CallAdapter(SystemTray* systemTray, LRCInstance* instance, QObject* ...@@ -35,6 +35,7 @@ CallAdapter::CallAdapter(SystemTray* systemTray, LRCInstance* instance, QObject*
, systemTray_(systemTray) , systemTray_(systemTray)
{ {
accountId_ = lrcInstance_->getCurrAccId(); accountId_ = lrcInstance_->getCurrAccId();
if (!accountId_.isEmpty())
connectCallModel(accountId_); connectCallModel(accountId_);
connect(&lrcInstance_->behaviorController(), connect(&lrcInstance_->behaviorController(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment